From caef657c5ba0dd00951196db03d79ca45b25e680 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Tue, 17 Oct 2023 15:04:19 +0200 Subject: [PATCH] libpod: rename confusing import name The packge is called slirp4netns and renaming it makes no sense, this was likely done by accident. Signed-off-by: Paul Holzinger --- libpod/info_linux.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libpod/info_linux.go b/libpod/info_linux.go index 5b1ac4172f..55ca37d30f 100644 --- a/libpod/info_linux.go +++ b/libpod/info_linux.go @@ -9,7 +9,7 @@ import ( "strings" "github.com/containers/common/libnetwork/pasta" - libpod "github.com/containers/common/libnetwork/slirp4netns" + "github.com/containers/common/libnetwork/slirp4netns" "github.com/containers/common/pkg/apparmor" "github.com/containers/common/pkg/cgroups" "github.com/containers/common/pkg/seccomp" @@ -59,7 +59,7 @@ func (r *Runtime) setPlatformHostInfo(info *define.HostInfo) error { slirp4netnsPath := r.config.Engine.NetworkCmdPath if slirp4netnsPath == "" { - slirp4netnsPath, _ = r.config.FindHelperBinary(libpod.BinaryName, true) + slirp4netnsPath, _ = r.config.FindHelperBinary(slirp4netns.BinaryName, true) } if slirp4netnsPath != "" { ver, err := version.Program(slirp4netnsPath)