mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #41221 from rallytime/bp-41211
Back-port #41211 to nitrogen
This commit is contained in:
commit
2b533540fd
@ -131,10 +131,9 @@ def get_serialized_facts():
|
||||
# For backward compatibility. 'junos_info' is present
|
||||
# only of in newer versions of facts.
|
||||
if 'junos_info' in facts:
|
||||
facts['junos_info']['re0']['object'] = \
|
||||
dict(facts['junos_info']['re0']['object'])
|
||||
facts['junos_info']['re1']['object'] = \
|
||||
dict(facts['junos_info']['re1']['object'])
|
||||
for re in facts['junos_info']:
|
||||
facts['junos_info'][re]['object'] = \
|
||||
dict(facts['junos_info'][re]['object'])
|
||||
return facts
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user