@when_not('kube-control.connected')
def missing_kube_control():
    "Inform the operator master is waiting for a relation to workers.\n\n    If deploying via bundle this won't happen, but if operator is upgrading a\n    a charm in a deployment that pre-dates the kube-control relation, it'll be\n    missing.\n\n    "
    hookenv.status_set('blocked', 'Waiting for workers.')
Inform the operator master is waiting for a relation to workers.

If deploying via bundle this won't happen, but if operator is upgrading a
a charm in a deployment that pre-dates the kube-control relation, it'll be
missing.
@when_not('kube-control.connected')
def missing_kube_control():
    "Inform the operator master is waiting for a relation to workers.\n\n    If deploying via bundle this won't happen, but if operator is upgrading a\n    a charm in a deployment that pre-dates the kube-control relation, it'll be\n    missing.\n\n    "
    hookenv.status_set('blocked', 'Waiting for workers.')