mirror of
https://github.com/containers/podman.git
synced 2025-12-02 11:08:36 +08:00
Update vendor containers/(common, buildah, image, storage)
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
4
vendor/github.com/containers/common/libnetwork/internal/util/util.go
generated
vendored
4
vendor/github.com/containers/common/libnetwork/internal/util/util.go
generated
vendored
@@ -28,9 +28,7 @@ func GetBridgeInterfaceNames(n NetUtil) []string {
|
||||
func GetUsedNetworkNames(n NetUtil) []string {
|
||||
names := make([]string, 0, n.Len())
|
||||
n.ForEach(func(net types.Network) {
|
||||
if net.Driver == types.BridgeNetworkDriver {
|
||||
names = append(names, net.NetworkInterface)
|
||||
}
|
||||
names = append(names, net.Name)
|
||||
})
|
||||
return names
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user