fix: fix chaos mode for deployment
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		| @ -24,8 +24,10 @@ import ( | |||||||
| func DeployAction(c *cli.Context) error { | func DeployAction(c *cli.Context) error { | ||||||
| 	app := ValidateApp(c) | 	app := ValidateApp(c) | ||||||
|  |  | ||||||
| 	if err := recipe.EnsureUpToDate(app.Type); err != nil { | 	if !Chaos { | ||||||
| 		logrus.Fatal(err) | 		if err := recipe.EnsureUpToDate(app.Type); err != nil { | ||||||
|  | 			logrus.Fatal(err) | ||||||
|  | 		} | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	r, err := recipe.Get(app.Type) | 	r, err := recipe.Get(app.Type) | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user