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

rework error message

Ticket: CM-5373
Reviewed By:
Testing Done: tested interfaces file with shared dependents
This commit is contained in:
Roopa Prabhu
2015-04-03 22:33:53 -07:00
parent 45ca0b6d42
commit 1cda1e437b

View File

@@ -401,9 +401,9 @@ class ifupdownMain(ifupdownBase):
if check_depends:
common = Set(ifacedlist).intersection(setdlist)
if common:
self.logger.error('iface %s and %s '
self.logger.error('misconfig..?. iface %s and %s '
%(ifaceobj.name, ifacename) +
'have common dependents %s' %str(list(common)))
'seem to share dependents/ports %s' %str(list(common)))
def preprocess_dependency_list(self, upperifaceobj, dlist, ops):
""" We go through the dependency list and