Skip to content

Commit

Permalink
remove the extra unneccsary condition to appease the integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Josephine.Rutten committed Dec 4, 2024
1 parent caaca59 commit 8cb6d73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cnaas_nms/api/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def put(self, hostname):
if not device_settings:
device_settings, _ = get_settings(hostname, dev.device_type)
if "vxlan" in if_dict["data"]:
if intfdata and if_dict["data"]["vxlan"] in device_settings["vxlans"]:
if if_dict["data"]["vxlan"] in device_settings["vxlans"]:
intfdata["vxlan"] = if_dict["data"]["vxlan"]
else:
errors.append(
Expand Down

0 comments on commit 8cb6d73

Please sign in to comment.