summaryrefslogtreecommitdiff
path: root/pkg/adapter/runtime.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-03-04 03:58:47 -0800
committerGitHub <noreply@github.com>2019-03-04 03:58:47 -0800
commitd63c8b00321f7e1d7c3cbfe3d1a57c9283d10d37 (patch)
tree93f6845030bd591e730ae315a6f3c47cc6e87dc0 /pkg/adapter/runtime.go
parentf3a3d8e28e4b8ec06dd11ec156c10e243165f19d (diff)
parent4d13a80fa46ce57e3c889934536320525338b3a4 (diff)
downloadpodman-d63c8b00321f7e1d7c3cbfe3d1a57c9283d10d37.tar.gz
podman-d63c8b00321f7e1d7c3cbfe3d1a57c9283d10d37.tar.bz2
podman-d63c8b00321f7e1d7c3cbfe3d1a57c9283d10d37.zip
Merge pull request #2364 from jwhonce/wip/remote_stop
Support podman-remote stop container
Diffstat (limited to 'pkg/adapter/runtime.go')
-rw-r--r--pkg/adapter/runtime.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/pkg/adapter/runtime.go b/pkg/adapter/runtime.go
index 8624981b1..5be2ca150 100644
--- a/pkg/adapter/runtime.go
+++ b/pkg/adapter/runtime.go
@@ -108,15 +108,6 @@ func (r *LocalRuntime) RemoveImage(ctx context.Context, img *ContainerImage, for
return r.Runtime.RemoveImage(ctx, img.Image, force)
}
-// LookupContainer ...
-func (r *LocalRuntime) LookupContainer(idOrName string) (*Container, error) {
- ctr, err := r.Runtime.LookupContainer(idOrName)
- if err != nil {
- return nil, err
- }
- return &Container{ctr}, nil
-}
-
// PruneImages is wrapper into PruneImages within the image pkg
func (r *LocalRuntime) PruneImages(all bool) ([]string, error) {
return r.ImageRuntime().PruneImages(all)