mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-02 16:53:11 +00:00
Merge pull request #15629 from privateip/fix-15496
make netcfg preserve command order
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user