mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
ifupdownmain: add module name in get_dependent warning
Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
This commit is contained in:
committed by
Julien Fortin
parent
59ab29fbd1
commit
e3dbe405ba
@ -709,10 +709,8 @@ class ifupdownMain:
|
||||
dlist = module.get_dependent_ifacenames(ifaceobj,
|
||||
ifacenames, old_ifaceobjs)
|
||||
except Exception as e:
|
||||
self.logger.warning('%s: error getting dependent interfaces (%s)'
|
||||
%(ifaceobj.name, str(e)))
|
||||
self.logger.warning("%s: %s: error getting dependent interfaces (%s)" % (ifaceobj.name, module, str(e)))
|
||||
dlist = None
|
||||
pass
|
||||
if dlist: ret_dlist.extend(dlist)
|
||||
return list(set(ret_dlist))
|
||||
|
||||
|
Reference in New Issue
Block a user