Superuser config tool warnings

Adds warnings displayed in the superuser config tool that the changes made will only be applied to the local instance (in non-k8s case) or that a deployment is required (in the k8s case)

[Delivers #137537413]
This commit is contained in:
Joseph Schorr 2017-01-13 15:50:50 -05:00
parent d20b20ae2a
commit efdedba2ae
3 changed files with 14 additions and 1 deletions

View file

@ -61,6 +61,7 @@ class SuperUserRegistryStatus(ApiResource):
# If we have SETUP_COMPLETE, then we're ready to go!
if app.config.get('SETUP_COMPLETE', False):
return {
'provider_id': config_provider.provider_id,
'requires_restart': config_provider.requires_restart(app.config),
'status': 'ready'
}