fix: chaos mode fixed for upgrade/rollback
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			Follows 4b7ec6384c.
			
			
This commit is contained in:
		@ -45,8 +45,10 @@ recipes.
 | 
			
		||||
		app := internal.ValidateApp(c)
 | 
			
		||||
		stackName := app.StackName()
 | 
			
		||||
 | 
			
		||||
		if err := recipe.EnsureUpToDate(app.Type); err != nil {
 | 
			
		||||
			logrus.Fatal(err)
 | 
			
		||||
		if !internal.Chaos {
 | 
			
		||||
			if err := recipe.EnsureUpToDate(app.Type); err != nil {
 | 
			
		||||
				logrus.Fatal(err)
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		r, err := recipe.Get(app.Type)
 | 
			
		||||
 | 
			
		||||
@ -48,8 +48,10 @@ recipes.
 | 
			
		||||
		app := internal.ValidateApp(c)
 | 
			
		||||
		stackName := app.StackName()
 | 
			
		||||
 | 
			
		||||
		if err := recipe.EnsureUpToDate(app.Type); err != nil {
 | 
			
		||||
			logrus.Fatal(err)
 | 
			
		||||
		if !internal.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