Merge pull request #39799 from Ch3LL/fix_salt_key_msg

Fix deleteed message when key is deleted
This commit is contained in:
Mike Place 2017-03-02 22:17:40 -07:00 committed by GitHub
commit d0440e2a2a

View file

@ -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: