From 11c028a0717ec6f28ef8d400856c9165ad0bd99c Mon Sep 17 00:00:00 2001 From: dayeguilaiye <979014041@qq.com> Date: Mon, 24 Feb 2025 21:40:18 +0800 Subject: [PATCH] fix(helm): fix style problem --- pkg/kube/client.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/kube/client.go b/pkg/kube/client.go index a6994e7b7..902ab5b1c 100644 --- a/pkg/kube/client.go +++ b/pkg/kube/client.go @@ -465,9 +465,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