Merge pull request #85 from fsilberstein/sync-args-without-update
Sync command: change the way we apply args
This commit is contained in:
		
						commit
						b75c1d8436
					
				
							
								
								
									
										10
									
								
								main.go
								
								
								
								
							
							
						
						
									
										10
									
								
								main.go
								
								
								
								
							|  | @ -193,11 +193,6 @@ func main() { | ||||||
| 					os.Exit(1) | 					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 { | 				if errs := state.UpdateDeps(helm); errs != nil && len(errs) > 0 { | ||||||
| 					for _, err := range errs { | 					for _, err := range errs { | ||||||
| 						fmt.Printf("err: %s\n", err.Error()) | 						fmt.Printf("err: %s\n", err.Error()) | ||||||
|  | @ -205,6 +200,11 @@ func main() { | ||||||
| 					os.Exit(1) | 					os.Exit(1) | ||||||
| 				} | 				} | ||||||
| 
 | 
 | ||||||
|  | 				args := c.String("args") | ||||||
|  | 				if len(args) > 0 { | ||||||
|  | 					helm.SetExtraArgs(strings.Split(args, " ")...) | ||||||
|  | 				} | ||||||
|  | 
 | ||||||
| 				values := c.StringSlice("values") | 				values := c.StringSlice("values") | ||||||
| 				workers := c.Int("concurrency") | 				workers := c.Int("concurrency") | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue