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:
Justin SB 2018-11-27 09:53:40 -05:00
parent 8b1e299fa1
commit a96a58ac78
No known key found for this signature in database
GPG Key ID: 8DEC5C8217494E37
1 changed files with 1 additions and 1 deletions

View File

@ -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),
}) })
} }
} }