mirror of https://github.com/kubernetes/kops.git
Include name of unhealthy component in validation error
Rolling-update just prints the message, and indeed I think the message should be self-contained.
This commit is contained in:
parent
8b1e299fa1
commit
a96a58ac78
|
|
@ -167,7 +167,7 @@ func (v *ValidationCluster) collectComponentFailures(client kubernetes.Interface
|
||||||
v.addError(&ValidationError{
|
v.addError(&ValidationError{
|
||||||
Kind: "ComponentStatus",
|
Kind: "ComponentStatus",
|
||||||
Name: component.Name,
|
Name: component.Name,
|
||||||
Message: "component is unhealthy",
|
Message: fmt.Sprintf("component %q is unhealthy", component.Name),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue