Skip to content

Commit 8a49e16

Browse files
committed
chore(deps): update dependency go to v1.26.1
- Update GOLANG_VERSION in .github/env from 1.25.7 to 1.26.1 - Update go directive in go.mod from 1.25.7 to 1.26.1
1 parent 84a7b73 commit 8a49e16

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
GOLANG_VERSION=1.25.7
2-
GOLANGCI_LINT_VERSION=v2.5.0
1+
GOLANG_VERSION=1.26.1
2+
GOLANGCI_LINT_VERSION=v2.11.2

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module helm.sh/helm/v4
22

3-
go 1.25.7
3+
go 1.26.1
44

55
require (
66
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24

pkg/chart/common/util/jsonschema.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func ValidateAgainstSchema(ch chart.Charter, values map[string]interface{}) erro
8383
slog.Debug("chart name", "chart-name", chrt.Name())
8484
err := ValidateAgainstSingleSchema(values, chrt.Schema())
8585
if err != nil {
86-
sb.WriteString(fmt.Sprintf("%s:\n", chrt.Name()))
86+
fmt.Fprintf(&sb, "%s:\n", chrt.Name())
8787
sb.WriteString(err.Error())
8888
}
8989
}
@@ -103,10 +103,10 @@ func ValidateAgainstSchema(ch chart.Charter, values map[string]interface{}) erro
103103

104104
subchartValues, ok := raw.(map[string]any)
105105
if !ok {
106-
sb.WriteString(fmt.Sprintf(
106+
fmt.Fprintf(&sb,
107107
"%s:\ninvalid type for values: expected object (map), got %T\n",
108108
sub.Name(), raw,
109-
))
109+
)
110110
continue
111111
}
112112

0 commit comments

Comments
 (0)