mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-17 20:56:13 +02:00
+1
-1
@@ -2588,7 +2588,7 @@ func (helm *mockHelmExec) Fetch(chart string, flags ...string) error {
|
||||
func (helm *mockHelmExec) Lint(name, chart string, flags ...string) error {
|
||||
return nil
|
||||
}
|
||||
func (helm *mockHelmExec) IsHelm3() bool {
|
||||
func (helm *mockHelmExec) IsOverHelm3() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@ func NewRun(st *state.HelmState, helm helmexec.Interface, ctx Context) (*Run, er
|
||||
return nil, fmt.Errorf("Assertion failed: helmexec.Interface must not be nil")
|
||||
}
|
||||
|
||||
if !helm.IsHelm3() {
|
||||
if !helm.IsOverHelm3() {
|
||||
return nil, fmt.Errorf("helmfile has deprecated helm2 since v0.150.0")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user