diff options
-rw-r--r-- | app/discover/find_links_for_pnics.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/discover/find_links_for_pnics.py b/app/discover/find_links_for_pnics.py index 3f3eb29..98d481c 100644 --- a/app/discover/find_links_for_pnics.py +++ b/app/discover/find_links_for_pnics.py @@ -36,7 +36,7 @@ class FindLinksForPnics(FindLinks): }) for pnic in pnics: self.add_switch_to_pnic_link(pnic) - if "role" == "uplink": + if pnic["role"] == "uplink": self.add_switch_pnic_to_switch_pnic_link(pnic) def add_pnic_network_links(self, pnic): |