mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #23632 from cachedout/issue_23529
Sort keys on output with salt-key
This commit is contained in:
commit
2acf0c5a5c
@ -87,7 +87,7 @@ def output(data):
|
||||
|
||||
for status in sorted(data):
|
||||
ret += u'{0}\n'.format(trans[status])
|
||||
for key in data[status]:
|
||||
for key in sorted(data[status]):
|
||||
skey = key
|
||||
if strip_colors:
|
||||
skey = salt.output.strip_esc_sequence(key)
|
||||
|
Loading…
Reference in New Issue
Block a user