Clarification of error message

Just a small improvement to make users less confused. Though stronger fix is advisable.
pull/4470/head
Kamil Burzynski 7 years ago committed by GitHub
parent 204f823b5e
commit 6b0290d390
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -277,7 +277,7 @@ func (c *Client) Update(namespace string, originalReader, targetReader io.Reader
originalInfo := original.Get(info)
if originalInfo == nil {
kind := info.Mapping.GroupVersionKind.Kind
return fmt.Errorf("no %s with the name %q found", kind, info.Name)
return fmt.Errorf("no %s with the name %q found in previous release, but it already exist in kubernetes", kind, info.Name)
}
if err := updateResource(c, info, originalInfo.Object, force, recreate); err != nil {

Loading…
Cancel
Save