summaryrefslogtreecommitdiff
path: root/cmd/podman/images/load.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-22 20:14:19 +0200
committerGitHub <noreply@github.com>2020-05-22 20:14:19 +0200
commit4bc819328b898f57fa7c40d7d5f8dc5583ef5eef (patch)
tree7e55e6dbe5037ca446cea38cf398bcf63e8ba4d5 /cmd/podman/images/load.go
parentc8d64264c924833440237bf766a05db0cea56a1c (diff)
parente41089244b300af2b3e51ac1e9501b4cfe42264e (diff)
downloadpodman-4bc819328b898f57fa7c40d7d5f8dc5583ef5eef.tar.gz
podman-4bc819328b898f57fa7c40d7d5f8dc5583ef5eef.tar.bz2
podman-4bc819328b898f57fa7c40d7d5f8dc5583ef5eef.zip
Merge pull request #6341 from rhatdan/build6
Attempt to turn on additional build tests
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 {