Change warn to warning

This commit is contained in:
IamTheFij 2018-07-15 17:05:20 -07:00
parent e20e75b2bf
commit 25121bc3a0

View File

@ -336,7 +336,7 @@ class Minitor(object):
'SUCCESS' if result else 'FAILURE'
)
except MinitorAlert as minitor_alert:
self.logger.warn(minitor_alert)
self.logger.warning(minitor_alert)
self.handle_minitor_alert(minitor_alert)
sleep(self.check_interval)