Skip to content

Commit 1e74051

Browse files
Breaking (Inventory): Changed ip-address key to ip_address (#148)
1 parent 724ebfa commit 1e74051

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/inventory/nb_inventory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ def extract_interfaces(self, host):
433433
for ipaddress in device_ipaddresses
434434
if ipaddress["interface"]["id"] == interface["id"]
435435
]
436-
interface["ip-addresses"] = interface_ip
436+
interface["ip_addresses"] = interface_ip
437437

438438
return interface_lookup
439439
except Exception:

0 commit comments

Comments
 (0)