Skip to content

Commit 5bb5aaf

Browse files
committed
flip the debugging statement
1 parent bdc34ca commit 5bb5aaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/minikube/bootstrapper/bsutil/kverify/node_health.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func NodePressure(cs *kubernetes.Clientset, drver string) error {
4848
glog.Infof("node storage ephemeral capacity is %s", n.Status.Capacity.StorageEphemeral())
4949
glog.Infof("node cpu capacity is %s", n.Status.Capacity.Cpu().AsDec())
5050
for _, c := range n.Status.Conditions {
51-
if c.Type == v1.NodeDiskPressure && c.Status != v1.ConditionTrue {
51+
if c.Type == v1.NodeDiskPressure && c.Status == v1.ConditionTrue {
5252
out.Ln("")
5353
out.ErrT(out.FailureType, "node {{.name}} has unwanted condition {{.condition_type}} : Reason {{.reason}} Message: {{.message}}", out.V{"name": n.Name, "condition_type": c.Type, "reason": c.Reason, "message": c.Message})
5454
out.WarningT("The node on {{.name}} has ran out of disk space. please consider allocating more disk using or pruning un-used images", out.V{"name": n.Name})

0 commit comments

Comments
 (0)