Improve keypair delete warning message

This improves the warning message for users attempting to remove
a keypair.

Change-Id: Ia004bedef2cba4637fa38467b07b4dca780a26c9
Closes-bug: #1548531
This commit is contained in:
eric 2016-02-22 15:15:36 -07:00 committed by Eric Peterson
parent 47e5d8528d
commit 1ff4b6004a

View File

@ -24,6 +24,9 @@ from openstack_dashboard.usage import quotas
class DeleteKeyPairs(tables.DeleteAction):
policy_rules = (("compute", "compute_extension:keypairs:delete"),)
help_text = _("Removing a key pair can leave OpenStack resources orphaned."
" You should not remove a key pair unless you are certain it"
" is not being used anywhere.")
@staticmethod
def action_present(count):