Update client.go

pull/4470/head
Kamil Burzynski 7 years ago committed by GitHub
parent 6b0290d390
commit d37c1c59a4
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 in previous release, but it already exist in kubernetes", kind, info.Name)
return fmt.Errorf("no %s with the name %q found in previous release, but it already exists in kubernetes", kind, info.Name)
}
if err := updateResource(c, info, originalInfo.Object, force, recreate); err != nil {

Loading…
Cancel
Save