fix: split tag string at semicolon instead of comma

This commit is contained in:
Robert Kaussow 2024-01-24 10:52:35 +01:00
parent aa3a82ae08
commit b4d35b1322
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ class Discovery:
if str(obj["vmid"]) in self.config.config["exclude_vmid"]:
continue
if isinstance(obj["tags"], str) and not set(obj["tags"].split(",")).isdisjoint(
if isinstance(obj["tags"], str) and not set(obj["tags"].split(";")).isdisjoint(
self.config.config["exclude_tags"]
):
continue

View File

@ -212,7 +212,7 @@ def qemus():
"status": "running",
"netout": 12159205236,
"mem": 496179157,
"tags": "unmonitored,excluded,postgres"
"tags": "unmonitored;excluded;postgres"
},
{
"diskwrite": 0,