summaryrefslogtreecommitdiff
path: root/cmd/podman/search.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/search.go')
-rw-r--r--cmd/podman/search.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/cmd/podman/search.go b/cmd/podman/search.go
index cc18cd1de..2e68e8c21 100644
--- a/cmd/podman/search.go
+++ b/cmd/podman/search.go
@@ -8,7 +8,6 @@ import (
"github.com/containers/image/docker"
"github.com/containers/libpod/cmd/podman/formats"
- "github.com/containers/libpod/cmd/podman/libpodruntime"
"github.com/containers/libpod/libpod/common"
sysreg "github.com/containers/libpod/pkg/registries"
"github.com/docker/distribution/reference"
@@ -108,12 +107,6 @@ func searchCmd(c *cli.Context) error {
return err
}
- runtime, err := libpodruntime.GetRuntime(c)
- if err != nil {
- return errors.Wrapf(err, "could not get runtime")
- }
- defer runtime.Shutdown(false)
-
format := genSearchFormat(c.String("format"))
opts := searchOpts{
format: format,