Fix services init

This commit is contained in:
GeorgianaElena
2019-06-06 17:42:10 +03:00
parent efe9853b85
commit 0b18b49cbc
2 changed files with 3 additions and 3 deletions

View File

@@ -235,7 +235,9 @@ def set_cull_idle_service(c, config):
def update_services(c, config):
c.JupyterHub.services.append(set_cull_idle_service(c, config))
c.JupyterHub.services = []
if config['services']['cull']['enabled']:
c.JupyterHub.services.append(set_cull_idle_service(c, config))
def _merge_dictionaries(a, b, path=None, update=True):