summaryrefslogtreecommitdiff
path: root/cmd/podman/images/image.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/images/image.go')
-rw-r--r--cmd/podman/images/image.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/cmd/podman/images/image.go b/cmd/podman/images/image.go
index 37e46ab9e..790c16c05 100644
--- a/cmd/podman/images/image.go
+++ b/cmd/podman/images/image.go
@@ -2,18 +2,22 @@ package images
import (
"github.com/containers/libpod/cmd/podman/registry"
+ "github.com/containers/libpod/cmd/podman/validate"
"github.com/containers/libpod/pkg/domain/entities"
"github.com/spf13/cobra"
)
var (
+ // Pull in configured json library
+ json = registry.JsonLibrary()
+
// Command: podman _image_
imageCmd = &cobra.Command{
Use: "image",
Short: "Manage images",
Long: "Manage images",
TraverseChildren: true,
- RunE: registry.SubCommandExists,
+ RunE: validate.SubCommandExists,
}
)