fix: sync repos always failing (#366)

This commit is contained in:
KUOKA Yusuke
2018-09-27 02:32:56 +09:00
committed by GitHub
parent 2eb13c25c5
commit 973d47bfc0
+6 -2
View File
@@ -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") != "" {