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 { | ||||
| 	app := ValidateApp(c) | ||||
|  | ||||
| 	if err := recipe.EnsureUpToDate(app.Type); err != nil { | ||||
| 		logrus.Fatal(err) | ||||
| 	if !Chaos { | ||||
| 		if err := recipe.EnsureUpToDate(app.Type); err != nil { | ||||
| 			logrus.Fatal(err) | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
| 	r, err := recipe.Get(app.Type) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user