mirror of
https://github.com/containers/podman.git
synced 2025-12-07 14:20:44 +08:00
vendor c/common@main
In hope to fix a CI flake. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
2
vendor/github.com/containers/common/libnetwork/cni/config.go
generated
vendored
2
vendor/github.com/containers/common/libnetwork/cni/config.go
generated
vendored
@@ -96,7 +96,7 @@ func (n *cniNetwork) networkCreate(newNetwork *types.Network, defaultNet bool) (
|
||||
newNetwork.ID = getNetworkIDFromName(newNetwork.Name)
|
||||
|
||||
// when we do not have ipam we must disable dns
|
||||
internalutil.IpamNoneDisableDns(newNetwork)
|
||||
internalutil.IpamNoneDisableDNS(newNetwork)
|
||||
|
||||
// FIXME: Should this be a hard error?
|
||||
if newNetwork.DNSEnabled && newNetwork.Internal && hasDNSNamePlugin(n.cniPluginDirs) {
|
||||
|
||||
2
vendor/github.com/containers/common/libnetwork/cni/run.go
generated
vendored
2
vendor/github.com/containers/common/libnetwork/cni/run.go
generated
vendored
@@ -106,7 +106,7 @@ func (n *cniNetwork) Setup(namespacePath string, options types.SetupOptions) (ma
|
||||
}
|
||||
|
||||
// CNIResultToStatus convert the cni result to status block
|
||||
// nolint:golint
|
||||
// nolint:golint,revive
|
||||
func CNIResultToStatus(res cnitypes.Result) (types.StatusBlock, error) {
|
||||
result := types.StatusBlock{}
|
||||
cniResult, err := types040.GetResult(res)
|
||||
|
||||
Reference in New Issue
Block a user