Skip to content

Commit

Permalink
littleblackening
Browse files Browse the repository at this point in the history
  • Loading branch information
Max-checkmk committed Sep 10, 2024
1 parent 312a81f commit bca1cf9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions plugins/inventory/checkmk.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,11 @@ def _generate_groups(self):
for hosttaggroups in self.hosttaggroups:
if len(hosttaggroups.get("tags")) > 1:
hosttags += [
"tag_" + hosttaggroups.get("id") + "_" + tag.get("id")
if tag.get("id")
else "tag_" + hosttaggroups.get("id") + "_None"
(
"tag_" + hosttaggroups.get("id") + "_" + tag.get("id")
if tag.get("id")
else "tag_" + hosttaggroups.get("id") + "_None"
)
for tag in (hosttaggroups.get("tags"))
]
else:
Expand Down

0 comments on commit bca1cf9

Please sign in to comment.