diff --git a/pkg/kube/client.go b/pkg/kube/client.go index 20018a5a4..fe6b66fc4 100644 --- a/pkg/kube/client.go +++ b/pkg/kube/client.go @@ -457,9 +457,8 @@ func (c *Client) Update(original, target ResourceList, force bool) (*Result, err if len(updateErrors) != 0 { return res, errors.Errorf(strings.Join(updateErrors, " && ")) - } else { - return res, nil } + return res, nil } // Delete deletes Kubernetes resources specified in the resources list with