summaryrefslogtreecommitdiff
path: root/cmd/podman/images/load.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-05-22 06:16:03 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-05-22 12:55:23 -0400
commit35567e706b5009ead40c0eaef7c5c1199cd8d448 (patch)
treeb3b35b1b94a8521f1ac08c85cdd514172e4ea554 /cmd/podman/images/load.go
parentc8d64264c924833440237bf766a05db0cea56a1c (diff)
downloadpodman-35567e706b5009ead40c0eaef7c5c1199cd8d448.tar.gz
podman-35567e706b5009ead40c0eaef7c5c1199cd8d448.tar.bz2
podman-35567e706b5009ead40c0eaef7c5c1199cd8d448.zip
Attempt to turn on additional build tests
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/images/load.go')
-rw-r--r--cmd/podman/images/load.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/cmd/podman/images/load.go b/cmd/podman/images/load.go
index 4bbffd432..a984ad81f 100644
--- a/cmd/podman/images/load.go
+++ b/cmd/podman/images/load.go
@@ -60,10 +60,7 @@ func loadFlags(flags *pflag.FlagSet) {
flags.StringVarP(&loadOpts.Input, "input", "i", "", "Read from specified archive file (default: stdin)")
flags.BoolVarP(&loadOpts.Quiet, "quiet", "q", false, "Suppress the output")
flags.StringVar(&loadOpts.SignaturePolicy, "signature-policy", "", "Pathname of signature policy file")
- if registry.IsRemote() {
- _ = flags.MarkHidden("signature-policy")
- }
-
+ _ = flags.MarkHidden("signature-policy")
}
func load(cmd *cobra.Command, args []string) error {