Skip to content

Commit

Permalink
fix: using only those tags causes many collisions
Browse files Browse the repository at this point in the history
Switching to a negative model - tags to ignore
  • Loading branch information
amunchet committed Dec 7, 2023
1 parent fdc6182 commit 3a294f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -1805,7 +1805,7 @@ def bulk_insert():
"name" : item["name"]
}
tags = ("agent_name")
for tag in [x for x in tags if x not in item["tags"]]:
for tag in [x for x in item["tags"] if x not in tags]:
replacements[f"tags.{tag}"] = item["tags"][tag]


Expand Down

0 comments on commit 3a294f4

Please sign in to comment.