mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
highstate output: allow '_id' mode for each output mode
This commit is contained in:
parent
8739cd62a8
commit
03c673bb00
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ def _format_host(host, data):
|
|||
state_output = __opts__.get('state_output', 'full').lower()
|
||||
comps = [sdecode(comp) for comp in tname.split('_|-')]
|
||||
|
||||
if state_output == 'mixed_id':
|
||||
if state_output.endswith('_id'):
|
||||
# Swap in the ID for the name. Refs #35137
|
||||
comps[2] = comps[1]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue