mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
addons: move some warns to errors and make sure all errors set the exit
code correctly Ticket: CM-7168 Reviewed By: julien Testing Done: Tested ifupdown2 negative testcases and ran ifupdown2 smoke Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
This commit is contained in:
@@ -68,7 +68,7 @@ class dhcp(moduleBase):
|
||||
self.dhclientcmd.start6(ifaceobj.name, wait=wait,
|
||||
cmd_prefix=dhclient_cmd_prefix)
|
||||
except Exception, e:
|
||||
self.log_error(str(e))
|
||||
self.log_error(str(e), ifaceobj)
|
||||
|
||||
def _down(self, ifaceobj):
|
||||
dhclient_cmd_prefix = None
|
||||
|
Reference in New Issue
Block a user