Change warn to warning
This commit is contained in:
parent
e20e75b2bf
commit
25121bc3a0
@ -336,7 +336,7 @@ class Minitor(object):
|
|||||||
'SUCCESS' if result else 'FAILURE'
|
'SUCCESS' if result else 'FAILURE'
|
||||||
)
|
)
|
||||||
except MinitorAlert as minitor_alert:
|
except MinitorAlert as minitor_alert:
|
||||||
self.logger.warn(minitor_alert)
|
self.logger.warning(minitor_alert)
|
||||||
self.handle_minitor_alert(minitor_alert)
|
self.handle_minitor_alert(minitor_alert)
|
||||||
|
|
||||||
sleep(self.check_interval)
|
sleep(self.check_interval)
|
||||||
|
Loading…
Reference in New Issue
Block a user