mirror of
https://github.com/containers/podman.git
synced 2026-10-24 10:49:10 -04:00
libpod: use pasta Setup() over Setup2()
Setup2() calls Setup() so they are both the same thing, the idea was to keep Setup2() around in c/common for a bit to avoid breaking changes during our regular vendoring. Now just use Setup() so we can get rid of Setup2() in c/common. https://github.com/containers/common/pull/2136/commits/a7415c3eab4675a5b37dbee9d33833af5f2b086e Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
1 file changed
+1
-1
@@ -12,7 +12,7 @@ package libpod
|
||||
import "github.com/containers/common/libnetwork/pasta"
|
||||
|
||||
func (r *Runtime) setupPasta(ctr *Container, netns string) error {
|
||||
res, err := pasta.Setup2(&pasta.SetupOptions{
|
||||
res, err := pasta.Setup(&pasta.SetupOptions{
|
||||
Config: r.config,
|
||||
Netns: netns,
|
||||
Ports: ctr.convertPortMappings(),
|
||||
|
||||
Reference in new issue
Block a user