mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Merge pull request #4990 from auser/patch-1
Updated key.py to fix isue #4989
This commit is contained in:
commit
71d79f4149
@ -104,6 +104,13 @@ class KeyCLI(object):
|
||||
raise SystemExit("\nExiting on CTRL-c")
|
||||
if veri.lower().startswith('y'):
|
||||
self.key.delete_key(match)
|
||||
else:
|
||||
print('Deleting the following keys:')
|
||||
salt.output.display_output(
|
||||
matches,
|
||||
'key',
|
||||
self.opts)
|
||||
self.key.delete_key(match)
|
||||
|
||||
def delete_all(self):
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user