mirror of
				https://github.com/containers/podman.git
				synced 2025-11-04 08:56:05 +08:00 
			
		
		
		
	Fix broken podman images filters
The id, digest, and intermediate filters were broken for podman images. Fix to match on substrings instead of the whole string for id and digest. Add the intermediate value correctly when set. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
This commit is contained in:
		
							
								
								
									
										5
									
								
								vendor/github.com/containers/common/libnetwork/netavark/config.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								vendor/github.com/containers/common/libnetwork/netavark/config.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@ -204,7 +204,10 @@ func (n *netavarkNetwork) networkCreate(newNetwork *types.Network, defaultNet bo
 | 
			
		||||
				}
 | 
			
		||||
				// rust only support "true" or "false" while go can parse 1 and 0 as well so we need to change it
 | 
			
		||||
				newNetwork.Options[types.NoDefaultRoute] = strconv.FormatBool(val)
 | 
			
		||||
 | 
			
		||||
			case types.VRFOption:
 | 
			
		||||
				if len(value) == 0 {
 | 
			
		||||
					return nil, errors.New("invalid vrf name")
 | 
			
		||||
				}
 | 
			
		||||
			default:
 | 
			
		||||
				return nil, fmt.Errorf("unsupported bridge network option %s", key)
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user