summaryrefslogtreecommitdiff
path: root/libpod/sql_state.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-01-18 15:23:53 -0500
committerGitHub <noreply@github.com>2018-01-18 15:23:53 -0500
commitf773605821990db4358d3b6f37479b5ea094b6e9 (patch)
tree0d932cf3e33e5996f02b40ddd6e1b01b0c6f87de /libpod/sql_state.go
parent858116f648a06a0f4df829bc1e78b46a5e609b57 (diff)
parentae2ffc31d3a8d37419d05aab2f0d36841fae3974 (diff)
downloadpodman-f773605821990db4358d3b6f37479b5ea094b6e9.tar.gz
podman-f773605821990db4358d3b6f37479b5ea094b6e9.tar.bz2
podman-f773605821990db4358d3b6f37479b5ea094b6e9.zip
Merge pull request #240 from mheon/refactor_container
Refactor container.go
Diffstat (limited to 'libpod/sql_state.go')
-rw-r--r--libpod/sql_state.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/sql_state.go b/libpod/sql_state.go
index e69db961f..42f5fe11e 100644
--- a/libpod/sql_state.go
+++ b/libpod/sql_state.go
@@ -527,8 +527,8 @@ func (s *SQLState) UpdateContainer(ctr *Container) error {
return errors.Wrapf(err, "error parsing database state for container %s", ctr.ID())
}
- newState := new(containerRuntimeInfo)
- newState.State = ContainerState(state)
+ newState := new(containerState)
+ newState.State = ContainerStatus(state)
newState.ConfigPath = configPath
newState.RunDir = runDir
newState.Mountpoint = mountpoint