summaryrefslogtreecommitdiff
path: root/libpod/container_internal.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-04-12 09:38:48 -0700
committerGitHub <noreply@github.com>2019-04-12 09:38:48 -0700
commit61fa40b25679f864db5b5b375d512a9f1264e31f (patch)
tree8986c1a4718a34129393fed8a2cfb21864b93d21 /libpod/container_internal.go
parent6ddc67c694dc60641606955364fe23b1c38406ac (diff)
parentf7951c8776cea5eeddd8838ac6a4f41f518032fd (diff)
downloadpodman-61fa40b25679f864db5b5b375d512a9f1264e31f.tar.gz
podman-61fa40b25679f864db5b5b375d512a9f1264e31f.tar.bz2
podman-61fa40b25679f864db5b5b375d512a9f1264e31f.zip
Merge pull request #2913 from mheon/get_instead_of_lookup
Use GetContainer instead of LookupContainer for full ID
Diffstat (limited to 'libpod/container_internal.go')
-rw-r--r--libpod/container_internal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go
index 36b5e01df..aa6448f4a 100644
--- a/libpod/container_internal.go
+++ b/libpod/container_internal.go
@@ -676,7 +676,7 @@ func (c *Container) getAllDependencies(visited map[string]*Container) error {
}
for _, depID := range depIDs {
if _, ok := visited[depID]; !ok {
- dep, err := c.runtime.state.LookupContainer(depID)
+ dep, err := c.runtime.state.Container(depID)
if err != nil {
return err
}