mirror of
https://github.com/containers/podman.git
synced 2025-12-05 21:32:22 +08:00
Vendor in latest c/common
Pull in updates made to the filters code for images. Filters now perform an AND operation except for th reference filter which does an OR operation for positive case but an AND operation for negative cases. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
This commit is contained in:
3
vendor/github.com/containers/common/libnetwork/slirp4netns/slirp4netns.go
generated
vendored
3
vendor/github.com/containers/common/libnetwork/slirp4netns/slirp4netns.go
generated
vendored
@@ -1,5 +1,4 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
|
||||
package slirp4netns
|
||||
|
||||
@@ -706,7 +705,7 @@ func openSlirp4netnsPort(apiSocket, proto, hostip string, hostport, guestport ui
|
||||
}
|
||||
// if there is no 'error' key in the received JSON data, then the operation was
|
||||
// successful.
|
||||
var y map[string]interface{}
|
||||
var y map[string]any
|
||||
if err := json.Unmarshal(buf[0:readLength], &y); err != nil {
|
||||
return fmt.Errorf("parsing error status from slirp4netns: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user