forked from toolshed/abra
		
	fix(rm): remove volumes correctly during app removal
This commit is contained in:
		@ -120,8 +120,7 @@ flag.
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if len(vols) > 0 {
 | 
			
		||||
			var removeVols []string
 | 
			
		||||
			for _, vol := range removeVols {
 | 
			
		||||
			for _, vol := range vols {
 | 
			
		||||
				err := cl.VolumeRemove(context.Background(), vol, internal.Force) // last argument is for force removing
 | 
			
		||||
				if err != nil {
 | 
			
		||||
					logrus.Fatal(err)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user