Consider a paused apiserver to be controlled by a running host
parent
04df96880e
commit
4124fbdb69
|
@ -144,8 +144,10 @@ func (d *Driver) GetState() (state.State, error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return ast, err
|
return ast, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If the apiserver is up, we'll claim to be up.
|
||||||
if ast == state.Paused || ast == state.Running {
|
if ast == state.Paused || ast == state.Running {
|
||||||
return ast, nil
|
return state.Running, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
return kverify.KubeletStatus(d.exec)
|
return kverify.KubeletStatus(d.exec)
|
||||||
|
|
Loading…
Reference in New Issue