mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Strip final 'e' in key cmd to correct "deleteed" misspelling
Fixes #38231
This commit is contained in:
parent
7ead1ed336
commit
26e1ee3650
@ -244,7 +244,7 @@ class KeyCLI(object):
|
||||
if not ret:
|
||||
self._print_no_match(cmd, self.opts['match'])
|
||||
return
|
||||
print('The following keys are going to be {0}ed:'.format(cmd))
|
||||
print('The following keys are going to be {0}ed:'.format(cmd.rstrip('e')))
|
||||
salt.output.display_output(ret, 'key', opts=self.opts)
|
||||
|
||||
if not self.opts.get('yes', False):
|
||||
|
Loading…
Reference in New Issue
Block a user