fix: sync repos always failing (#366)
This commit is contained in:
parent
2eb13c25c5
commit
973d47bfc0
8
main.go
8
main.go
|
|
@ -637,7 +637,9 @@ func visitAllDesiredStates(c *cli.Context, converge func(*state.HelmState, helme
|
|||
return err
|
||||
}
|
||||
|
||||
ctx := context{}
|
||||
ctx := context{
|
||||
updatedRepos: map[string]struct{}{},
|
||||
}
|
||||
|
||||
convergeWithHelmBinary := func(st *state.HelmState, helm helmexec.Interface) (bool, []error) {
|
||||
if c.GlobalString("helm-binary") != "" {
|
||||
|
|
@ -675,7 +677,9 @@ func findAndIterateOverDesiredStatesUsingFlagsWithReverse(c *cli.Context, revers
|
|||
return err
|
||||
}
|
||||
|
||||
ctx := context{}
|
||||
ctx := context{
|
||||
updatedRepos: map[string]struct{}{},
|
||||
}
|
||||
|
||||
convergeWithHelmBinary := func(st *state.HelmState, helm helmexec.Interface) []error {
|
||||
if c.GlobalString("helm-binary") != "" {
|
||||
|
|
|
|||
Loading…
Reference in New Issue