mirror of
https://github.com/mtan93/cachet-url-monitor.git
synced 2026-03-08 05:31:58 +00:00
Make update status optional
This commit is contained in:
@@ -51,8 +51,10 @@ class Scheduler(object):
|
||||
|
||||
if self.configuration.is_create_incident():
|
||||
self.agent = CreateIncidentAgent(self.configuration)
|
||||
else:
|
||||
elif self.configuration.is_update_status():
|
||||
self.agent = UpdateStatusAgent(self.configuration)
|
||||
else:
|
||||
self.agent = Agent(self.configuration)
|
||||
|
||||
self.stop = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user