Skip to content

Commit

Permalink
fix negated logic
Browse files Browse the repository at this point in the history
  • Loading branch information
medyagh committed Apr 2, 2020
1 parent bb3d511 commit a43569a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/minikube/node/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func Start(cc config.ClusterConfig, n config.Node, existingAddons map[string]boo
}

// Skip pre-existing, because we already waited for health
if kverify.DontWait(cc.WaitForCompos) || !preExists {
if !kverify.DontWait(cc.WaitForCompos) && !preExists {
if err := bs.WaitForNode(cc, n, viper.GetDuration(waitTimeout)); err != nil {
return nil, errors.Wrap(err, "Wait failed")
}
Expand Down

0 comments on commit a43569a

Please sign in to comment.