From 973d47bfc0e39946ffa8665071a8a5421f0ad7fc Mon Sep 17 00:00:00 2001 From: KUOKA Yusuke Date: Thu, 27 Sep 2018 02:32:56 +0900 Subject: [PATCH] fix: sync repos always failing (#366) --- main.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 14a15c4e..240a8445 100644 --- a/main.go +++ b/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") != "" {