mirror of
https://github.com/containers/podman.git
synced 2025-10-17 19:24:04 +08:00
Rename libpod.Config back to ContainerConfig
During an earlier bugfix, we swapped all instances of ContainerConfig to Config, which was meant to fix some data we were returning from Inspect. This unfortunately also renamed a libpod internal struct for container configs. Undo the rename here. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
This commit is contained in:
@ -17,7 +17,7 @@ import (
|
||||
|
||||
func getTestContainer(id, name string, manager lock.Manager) (*Container, error) {
|
||||
ctr := &Container{
|
||||
config: &Config{
|
||||
config: &ContainerConfig{
|
||||
ID: id,
|
||||
Name: name,
|
||||
RootfsImageID: id,
|
||||
@ -165,8 +165,8 @@ func testContainersEqual(t *testing.T, a, b *Container, allowedEmpty bool) {
|
||||
require.NotNil(t, a.state)
|
||||
require.NotNil(t, b.state)
|
||||
|
||||
aConfig := new(Config)
|
||||
bConfig := new(Config)
|
||||
aConfig := new(ContainerConfig)
|
||||
bConfig := new(ContainerConfig)
|
||||
aState := new(containerState)
|
||||
bState := new(containerState)
|
||||
|
||||
|
Reference in New Issue
Block a user