Fix deleteed message when key is deleted

This commit is contained in:
Ch3LL 2017-03-02 15:24:40 -07:00
parent 9f70ad7164
commit 8346682cf7

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: