Consider a paused apiserver to be controlled by a running host

pull/6452/head
tstromberg 2020-02-03 14:20:57 -08:00
parent 04df96880e
commit 4124fbdb69
1 changed files with 3 additions and 1 deletions

View File

@ -144,8 +144,10 @@ func (d *Driver) GetState() (state.State, error) {
if err != nil {
return ast, err
}
// If the apiserver is up, we'll claim to be up.
if ast == state.Paused || ast == state.Running {
return ast, nil
return state.Running, nil
}
return kverify.KubeletStatus(d.exec)