Merge pull request #24417 from Luap99/pasta2

libpod: use pasta Setup() over Setup2()
This commit is contained in:
openshift-merge-bot[bot] 2024-10-30 14:39:11 +00:00 committed by GitHub
commit c8238a999f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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(),