mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #15629 from privateip/fix-15496
make netcfg preserve command order
This commit is contained in:
commit
8f7c879574
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ class NetworkConfig(object):
|
|||
if self._device_os == 'junos':
|
||||
return updates
|
||||
|
||||
diffs = dict()
|
||||
diffs = collections.OrderedDict()
|
||||
for update in updates:
|
||||
if replace == 'block' and update.parents:
|
||||
update = update.parents[-1]
|
||||
|
|
Loading…
Add table
Reference in a new issue