summaryrefslogtreecommitdiff
path: root/libpod/container_internal.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-02-28 09:29:46 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-03-01 21:17:51 +0000
commitc5dc7f81fc5a1078b0bc66bd9e7a1f23a03242c5 (patch)
treef0f80eecfc6bd3b4a03b41d43ebef52207cbe1ca /libpod/container_internal.go
parentfa5f99effa7dd2ef9fbd5287b6225590b28713d1 (diff)
downloadpodman-c5dc7f81fc5a1078b0bc66bd9e7a1f23a03242c5.tar.gz
podman-c5dc7f81fc5a1078b0bc66bd9e7a1f23a03242c5.tar.bz2
podman-c5dc7f81fc5a1078b0bc66bd9e7a1f23a03242c5.zip
Replace usage of runc with runtime
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #412 Approved by: baude
Diffstat (limited to 'libpod/container_internal.go')
-rw-r--r--libpod/container_internal.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go
index 3223961fa..59de06c97 100644
--- a/libpod/container_internal.go
+++ b/libpod/container_internal.go
@@ -105,7 +105,7 @@ func (c *Container) execPidPath(sessionID string) string {
return filepath.Join(c.state.RunDir, "exec_pid_"+sessionID)
}
-// Sync this container with on-disk state and runc status
+// Sync this container with on-disk state and runtime status
// Should only be called with container lock held
// This function should suffice to ensure a container's state is accurate and
// it is valid for use.
@@ -113,7 +113,7 @@ func (c *Container) syncContainer() error {
if err := c.runtime.state.UpdateContainer(c); err != nil {
return err
}
- // If runc knows about the container, update its status in runc
+ // If runtime knows about the container, update its status in runtime
// And then save back to disk
if (c.state.State != ContainerStateUnknown) &&
(c.state.State != ContainerStateConfigured) {