summaryrefslogtreecommitdiff
path: root/cmd/podman/images/search.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-10-07 13:02:02 -0400
committerGitHub <noreply@github.com>2020-10-07 13:02:02 -0400
commitce93ab354234c989c52bdbf87166e117e7c97fce (patch)
tree5cd6445f92921c7015fbe0b9663983165bd58db3 /cmd/podman/images/search.go
parenta7500e54a4646c7db477349e2530ac13df77b8fa (diff)
parentccc5bc167fa2c140e33963bb5cce99f40ff00281 (diff)
downloadpodman-ce93ab354234c989c52bdbf87166e117e7c97fce.tar.gz
podman-ce93ab354234c989c52bdbf87166e117e7c97fce.tar.bz2
podman-ce93ab354234c989c52bdbf87166e117e7c97fce.zip
Merge pull request #7845 from rhatdan/remote
Attempt to turn on some more remote tests
Diffstat (limited to 'cmd/podman/images/search.go')
-rw-r--r--cmd/podman/images/search.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/cmd/podman/images/search.go b/cmd/podman/images/search.go
index c7f16a838..b8d989d65 100644
--- a/cmd/podman/images/search.go
+++ b/cmd/podman/images/search.go
@@ -86,11 +86,6 @@ func searchFlags(flags *pflag.FlagSet) {
flags.BoolVar(&searchOptions.NoTrunc, "no-trunc", false, "Do not truncate the output")
flags.StringVar(&searchOptions.Authfile, "authfile", auth.GetDefaultAuthFile(), "Path of the authentication file. Use REGISTRY_AUTH_FILE environment variable to override")
flags.BoolVar(&searchOptions.TLSVerifyCLI, "tls-verify", true, "Require HTTPS and verify certificates when contacting registries")
-
- if registry.IsRemote() {
- _ = flags.MarkHidden("authfile")
- _ = flags.MarkHidden("tls-verify")
- }
}
// imageSearch implements the command for searching images.