Skip to content

Commit

Permalink
fixes bug 1197915 - crontabber status ALLGOOD
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbe committed Aug 24, 2015
1 parent 5343bb0 commit f1c1546
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webapp-django/crashstats/crashstats/tests/test_views.py
Expand Up @@ -2690,7 +2690,7 @@ def mocked_get(url, **options):
url = reverse('crashstats:crontabber_status')
response = self.client.get(url)
eq_(response.status_code, 200)
eq_(json.loads(response.content), {'status': 'OK'})
eq_(json.loads(response.content), {'status': 'ALLGOOD'})

@mock.patch('requests.get')
def test_crontabber_status_trouble(self, rget):
Expand Down
2 changes: 1 addition & 1 deletion webapp-django/crashstats/crashstats/views.py
Expand Up @@ -1769,7 +1769,7 @@ def crontabber_status(request):
api = CrontabberState()

# start by assuming the status is OK which means no jobs are broken
context = {'status': 'OK'}
context = {'status': 'ALLGOOD'}

all_apps = api.get()['state']
broken = [
Expand Down

0 comments on commit f1c1546

Please sign in to comment.