fix validate options

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
yxxhero
2025-11-09 12:10:51 +08:00
parent c506caa33f
commit a38b07bd4a
8 changed files with 19 additions and 15 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ func NewVersionHelmExec(version string) *VersionHelmExec {
return &VersionHelmExec{noCallHelmExec: &noCallHelmExec{}, version: version}
}
func (helm *V3HelmExec) IsHelm3() bool {
func (helm *V3HelmExec) IsOverHelm3() bool {
return helm.isHelm3
}
@@ -127,7 +127,7 @@ func (helm *noCallHelmExec) Lint(name, chart string, flags ...string) error {
helm.doPanic()
return nil
}
func (helm *noCallHelmExec) IsHelm3() bool {
func (helm *noCallHelmExec) IsOverHelm3() bool {
helm.doPanic()
return false
}