From a96a58ac789b5d0c7b725bce755d29fd6dee95ea Mon Sep 17 00:00:00 2001 From: Justin SB Date: Tue, 27 Nov 2018 09:53:40 -0500 Subject: [PATCH] Include name of unhealthy component in validation error Rolling-update just prints the message, and indeed I think the message should be self-contained. --- pkg/validation/validate_cluster.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/validation/validate_cluster.go b/pkg/validation/validate_cluster.go index a7c9cd09a1..8c28d7fd5d 100644 --- a/pkg/validation/validate_cluster.go +++ b/pkg/validation/validate_cluster.go @@ -167,7 +167,7 @@ func (v *ValidationCluster) collectComponentFailures(client kubernetes.Interface v.addError(&ValidationError{ Kind: "ComponentStatus", Name: component.Name, - Message: "component is unhealthy", + Message: fmt.Sprintf("component %q is unhealthy", component.Name), }) } }