Merge pull request #85 from fsilberstein/sync-args-without-update

Sync command: change the way we apply args
This commit is contained in:
KUOKA Yusuke
2018-04-04 16:41:35 +09:00
committed by GitHub
+5 -5
View File
@@ -193,11 +193,6 @@ func main() {
os.Exit(1)
}
args := c.String("args")
if len(args) > 0 {
helm.SetExtraArgs(strings.Split(args, " ")...)
}
if errs := state.UpdateDeps(helm); errs != nil && len(errs) > 0 {
for _, err := range errs {
fmt.Printf("err: %s\n", err.Error())
@@ -205,6 +200,11 @@ func main() {
os.Exit(1)
}
args := c.String("args")
if len(args) > 0 {
helm.SetExtraArgs(strings.Split(args, " ")...)
}
values := c.StringSlice("values")
workers := c.Int("concurrency")