Commit 02d08305 authored by George Kraft's avatar George Kraft

Fix Juju kubernetes-master idle_status never being called

parent 464831e2
......@@ -284,9 +284,9 @@ def set_app_version():
hookenv.application_version_set(version.split(b' v')[-1].rstrip())
@when('cdk-addons.configured', 'kube-api-endpoint.connected',
@when('cdk-addons.configured', 'kube-api-endpoint.available',
'kube-control.connected')
def idle_status():
def idle_status(kube_api, kube_control):
''' Signal at the end of the run that we are running. '''
if not all_kube_system_pods_running():
hookenv.status_set('waiting', 'Waiting for kube-system pods to start')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment