Update cmd/minikube/cmd/config/profile_list.go
spowelljr: set status to as.String() just once Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>pull/17909/head
parent
9d5dfafe7c
commit
2ec34729ad
|
@ -166,13 +166,12 @@ func profileStatus(p *config.Profile, api libmachine.API) string {
|
|||
klog.Warningf("error loading profile (will continue): apiserver status for %s: %v", machineName, err)
|
||||
continue
|
||||
}
|
||||
status = as.String()
|
||||
if as != state.Running {
|
||||
klog.Warningf("error loading profile (will continue): apiserver %s is not running: %q", machineName, hs)
|
||||
status = as.String()
|
||||
continue
|
||||
}
|
||||
|
||||
status = state.Running.String()
|
||||
healthyCPs++
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue