ajout du downtime

This commit is contained in:
Adrien Bourmault 2022-02-14 19:47:55 +01:00
parent 1c1f94efd7
commit 3675dabac2
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ class DataStore:
self.linkedBot.push(destmuc, cur.maintainer+", "+message) self.linkedBot.push(destmuc, cur.maintainer+", "+message)
elif "DOWNTIMEEND" in type and cur.downtime: elif "DOWNTIMEEND" in type and cur.downtime:
cur.downtime = True cur.downtime = False
message = "fin de downtime sur" \ message = "fin de downtime sur" \
" sur %s (%s)" % (host, text) " sur %s (%s)" % (host, text)
# send notification # send notification