feat(ack): liste unique des services acked

This commit is contained in:
François Poulain 2020-08-23 18:12:14 +02:00
parent e4d44ed371
commit 617234e41c

View File

@ -308,7 +308,7 @@ class IcingaBot(Icinga2ServiceManager, irc.bot.SingleServerIRCBot):
self.send(
"Acknowledged ({}): {}".format(
len(acknowledged),
', '.join([s["attrs"]["display_name"] for s in acknowledged])
', '.join({s["attrs"]["display_name"] for s in acknowledged})
)
)
else: