- Fix superuser panel for debugging

- Start work on the gauges panel
This commit is contained in:
Joseph Schorr 2015-02-17 11:31:50 -05:00
parent fbdbc21eb1
commit 79f39697fe
6 changed files with 40 additions and 14 deletions

View file

@ -50,6 +50,11 @@ class SuperUserRegistryStatus(ApiResource):
@verify_not_prod
def get(self):
""" Returns the status of the registry. """
if app.config.get('DEBUGGING', False):
return {
'status': 'ready'
}
# If there is no conf/stack volume, then report that status.
if not CONFIG_PROVIDER.volume_exists():
return {