mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #38232 from rallytime/fix-38231
Strip final 'e' in key cmd to correct "deleteed" misspelling
This commit is contained in:
commit
0af343e71f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue