mirror of
				https://github.com/containers/podman.git
				synced 2025-11-04 08:56:05 +08:00 
			
		
		
		
	image prune: support removing external containers
Support removing external containers (e.g., build containers) during image prune. Fixes: #11472 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
		
							
								
								
									
										2
									
								
								vendor/github.com/containers/common/pkg/retry/retry.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/github.com/containers/common/pkg/retry/retry.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@ -30,7 +30,7 @@ func RetryIfNecessary(ctx context.Context, operation func() error, retryOptions
 | 
			
		||||
		if retryOptions.Delay != 0 {
 | 
			
		||||
			delay = retryOptions.Delay
 | 
			
		||||
		}
 | 
			
		||||
		logrus.Warnf("failed, retrying in %s ... (%d/%d). Error: %v", delay, attempt+1, retryOptions.MaxRetry, err)
 | 
			
		||||
		logrus.Warnf("Failed, retrying in %s ... (%d/%d). Error: %v", delay, attempt+1, retryOptions.MaxRetry, err)
 | 
			
		||||
		select {
 | 
			
		||||
		case <-time.After(delay):
 | 
			
		||||
			break
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user