Skip to content

Commit 125beb4

Browse files
authored
Inventory: Properly handle interface tags. (#473)
1 parent fd2e297 commit 125beb4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/inventory/nb_inventory.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,7 @@ def extract_interfaces(self, host):
668668
interface["id"]
669669
].values()
670670
)
671+
interface["tags"] = list(sub["slug"] for sub in interface["tags"])
671672

672673
return interfaces
673674
except Exception:

0 commit comments

Comments
 (0)