mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-13 07:01:23 -04:00
Fixed small mistakes in log messages
This commit is contained in:
@@ -99,7 +99,7 @@ class SwagUptimeKuma:
|
||||
self._api.delete_monitor(monitorData['id'])
|
||||
|
||||
def deleteMonitors(self, containerNames):
|
||||
print(f"{logPrefix} Deleting all monitors that had their containers removed")
|
||||
print(f"{logPrefix} Deleting all monitors that had their containers removed or were disabled")
|
||||
if (containerNames):
|
||||
for containerName in containerNames:
|
||||
self.deleteMonitor(containerName)
|
||||
@@ -152,7 +152,7 @@ class SwagUptimeKuma:
|
||||
|
||||
def getMonitorSwagTagValue(self, monitorData):
|
||||
"""
|
||||
This value is container name itself. Used to link containers with monitors
|
||||
This value is container name itself. Used to link containers with monitors.
|
||||
"""
|
||||
for tag in monitorData.get('tags'):
|
||||
if (has_key_with_value(tag, "name", self.swagTagName)):
|
||||
|
||||
Reference in New Issue
Block a user