fix: tag value
This commit is contained in:
parent
6bd649a7f7
commit
b5f06dc7ef
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ class Monitor(Item):
|
||||||
for t, v in self.tags:
|
for t, v in self.tags:
|
||||||
if (t.id, v) not in current_tags:
|
if (t.id, v) not in current_tags:
|
||||||
logger.debug(f"Adding tag: '{t}, {v}'")
|
logger.debug(f"Adding tag: '{t}, {v}'")
|
||||||
self.api.add_monitor_tag(tag_id=t.id, monitor_id=self.id, value=v)
|
self.api.add_monitor_tag(tag_id=t.id, monitor_id=self.id, value=v if v is not None else "")
|
||||||
self.saved = True
|
self.saved = True
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
|
|
Loading…
Reference in a new issue