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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

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") != "" {