summaryrefslogtreecommitdiff
path: root/libpod/sql_state.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-01-18 11:49:14 -0500
committerMatthew Heon <matthew.heon@gmail.com>2018-01-18 11:49:14 -0500
commit49378c055ad677505a358b4e0572ec235dbde6e4 (patch)
tree568759fb6b83f9cfa9d2c2b1c6c75883be751454 /libpod/sql_state.go
parent4f2bf5ba1c27d686c0405e008a07d642d5a1e510 (diff)
downloadpodman-49378c055ad677505a358b4e0572ec235dbde6e4.tar.gz
podman-49378c055ad677505a358b4e0572ec235dbde6e4.tar.bz2
podman-49378c055ad677505a358b4e0572ec235dbde6e4.zip
Rename containerRuntimeInfo to containerState for clarity
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Diffstat (limited to 'libpod/sql_state.go')
-rw-r--r--libpod/sql_state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/sql_state.go b/libpod/sql_state.go
index 4299b29ab..42f5fe11e 100644
--- a/libpod/sql_state.go
+++ b/libpod/sql_state.go
@@ -527,7 +527,7 @@ func (s *SQLState) UpdateContainer(ctr *Container) error {
return errors.Wrapf(err, "error parsing database state for container %s", ctr.ID())
}
- newState := new(containerRuntimeInfo)
+ newState := new(containerState)
newState.State = ContainerStatus(state)
newState.ConfigPath = configPath
newState.RunDir = runDir