mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
Fix scheduler for --allow <classes> option
Ticket: Reviewed By: nobody Testing Done: Tested --allow <classes>
This commit is contained in:
@ -375,6 +375,11 @@ class ifaceScheduler():
|
||||
|
||||
ifupdownobj.logger.debug('graph roots (interfaces that dont have '
|
||||
'dependents):' + ' %s' %str(run_queue))
|
||||
cls.run_iface_list(ifupdownobj, run_queue, ops,
|
||||
if run_queue:
|
||||
cls.run_iface_list(ifupdownobj, run_queue, ops,
|
||||
parent=None,order=order,
|
||||
followdependents=followdependents)
|
||||
else:
|
||||
cls.run_iface_list(ifupdownobj, ifacenames, ops,
|
||||
parent=None,order=order,
|
||||
followdependents=followdependents)
|
||||
|
Reference in New Issue
Block a user