feat: update go version and adjust dependencies in Dockerfile and go.mod (#1722)

* feat: update go version and adjust dependencies in Dockerfile and go.mod

Signed-off-by: yxxhero <aiopsclub@163.com>

* fix lint

Signed-off-by: yxxhero <aiopsclub@163.com>

* fix lint

Signed-off-by: yxxhero <aiopsclub@163.com>

---------

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
yxxhero
2024-09-30 09:21:44 -04:00
committed by GitHub
parent 5963dd364d
commit b375a31f20
15 changed files with 64 additions and 68 deletions
+2 -2
View File
@@ -461,7 +461,7 @@ func (helm *execer) TemplateRelease(name string, chart string, flags ...string)
func (helm *execer) DiffRelease(context HelmContext, name, chart, namespace string, suppressDiff bool, flags ...string) error {
diffMsg := fmt.Sprintf("Comparing release=%v, chart=%v, namespace=%v\n", name, redactedURL(chart), namespace)
if context.Writer != nil && !suppressDiff {
fmt.Fprint(context.Writer, diffMsg)
_, _ = fmt.Fprint(context.Writer, diffMsg)
} else {
helm.logger.Info(diffMsg)
}
@@ -637,7 +637,7 @@ func (helm *execer) write(w io.Writer, out []byte) {
if w == nil {
w = os.Stdout
}
fmt.Fprintf(w, "%s\n", out)
_, _ = fmt.Fprintf(w, "%s\n", out)
}
}