feat(ack): liste unique des services acked
This commit is contained in:
parent
e4d44ed371
commit
617234e41c
@ -308,7 +308,7 @@ class IcingaBot(Icinga2ServiceManager, irc.bot.SingleServerIRCBot):
|
|||||||
self.send(
|
self.send(
|
||||||
"Acknowledged ({}): {}".format(
|
"Acknowledged ({}): {}".format(
|
||||||
len(acknowledged),
|
len(acknowledged),
|
||||||
', '.join([s["attrs"]["display_name"] for s in acknowledged])
|
', '.join({s["attrs"]["display_name"] for s in acknowledged})
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user