mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #39799 from Ch3LL/fix_salt_key_msg
Fix deleteed message when key is deleted
This commit is contained in:
commit
d0440e2a2a
1 changed files with 2 additions and 1 deletions
|
@ -271,7 +271,8 @@ class KeyCLI(object):
|
|||
ret = list_ret
|
||||
for minions in ret.values():
|
||||
for minion in minions:
|
||||
print('Key for minion {0} {1}ed.'.format(minion, cmd))
|
||||
print('Key for minion {0} {1}ed.'.format(minion,
|
||||
cmd.rstrip('e')))
|
||||
elif isinstance(ret, dict):
|
||||
salt.output.display_output(ret, 'key', opts=self.opts)
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue