mirror of https://github.com/containers/podman.git
Merge pull request #24417 from Luap99/pasta2
libpod: use pasta Setup() over Setup2()
This commit is contained in:
commit
c8238a999f
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue