mirror of
https://github.com/containers/podman.git
synced 2025-10-17 19:24:04 +08:00
add libpod/config
Refactor the `RuntimeConfig` along with related code from libpod into libpod/config. Note that this is a first step of consolidating code into more coherent packages to make the code more maintainable and less prone to regressions on the long runs. Some libpod definitions were moved to `libpod/define` to resolve circular dependencies. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
@ -7,6 +7,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/containers/libpod/libpod/config"
|
||||
"github.com/containers/libpod/libpod/define"
|
||||
"github.com/containers/libpod/libpod/lock"
|
||||
"github.com/cri-o/ocicni/pkg/ocicni"
|
||||
@ -74,7 +75,7 @@ func getTestContainer(id, name string, manager lock.Manager) (*Container, error)
|
||||
},
|
||||
},
|
||||
runtime: &Runtime{
|
||||
config: &RuntimeConfig{
|
||||
config: &config.Config{
|
||||
VolumePath: "/does/not/exist/tmp/volumes",
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user