Skip to content
This repository has been archived by the owner on Sep 25, 2018. It is now read-only.

Commit

Permalink
Removed un-used
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaz492 committed Feb 8, 2017
1 parent 357bebb commit 303d457
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions system/cachetMonitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ def checkSites(self):
c_id = self.config['monitoring'][x]['component_id']
localtime = time.asctime(time.localtime(time.time()))
current_status = self.utils.getComponentsByID(c_id).json()['data']['status']
load_time = 0
incident_id = self.checkForIncident(c_id)
check_timeout = self.config['monitoring'][x]['timeout']

Expand Down Expand Up @@ -264,7 +263,6 @@ def checkForIncident(self, component_id):
incident_status = current_incidents['data'][x]['status']

if component_id == incident_component_id and incident_status is not 4:
# self.logs.debug("c_id: %s i_id: %s" % (component_id, incident_id))
return incident_id
x += 1

Expand Down

0 comments on commit 303d457

Please sign in to comment.