1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

Fix stray call to dict which was converting my ordered dict to an unordered dict

Ticket: CM-2731
Reviewed By:
Testing Done:

This was resulting in eth0 missing its first spot during interface
bringup
This commit is contained in:
roopa
2014-05-07 22:48:29 -07:00
parent 31c5878750
commit f90dd03886

View File

@ -337,7 +337,7 @@ class ifaceScheduler():
for ifacename in dependency_graph.keys():
indegrees[ifacename] = ifupdownobj.get_iface_refcnt(ifacename)
sorted_ifacenames = graph.topological_sort_graphs_all(dependency_graph,
dict(indegrees))
indegrees)
ifupdownobj.logger.debug('sorted ifacenames %s : '
%str(sorted_ifacenames))