Skip to content

Commit 3b7264f

Browse files
committed
debug more info
Signed-off-by: yxxhero <aiopsclub@163.com>
1 parent ac712df commit 3b7264f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cmd/helm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ func (d *diffCmd) template(isUpgrade bool) ([]byte, error) {
335335
// Flag --validate has been deprecated, use '--dry-run=server' instead in Helm v4+
336336
flags = append(flags, "--dry-run=server")
337337
} else {
338-
flags = append(flags, "--validatefsdfa")
338+
flags = append(flags, "--validate")
339339
}
340340
}
341341

main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ var helmSubcmdStubs = []fakeHelmSubcmd{
6464
},
6565
{
6666
cmd: []string{"template"},
67-
args: []string{"test-release", "test/testdata/test-chart", "--values", "test/testdata/test-values.yaml", "--validatefsdfa", "--is-upgrade"},
67+
args: []string{"test-release", "test/testdata/test-chart", "--values", "test/testdata/test-values.yaml", "--validate", "--is-upgrade"},
6868
},
6969
{
7070
cmd: []string{"get", "hooks"},

0 commit comments

Comments
 (0)