summaryrefslogtreecommitdiff
path: root/pkg/bindings/images/images.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-08-31 06:28:19 -0400
committerGitHub <noreply@github.com>2022-08-31 06:28:19 -0400
commit7503c5544d506826e2d8602d95433eef98208e83 (patch)
tree7990ba25accecf929e57b27390ece033995fdcc1 /pkg/bindings/images/images.go
parentac7f4ebb6a1fd3afbaea5e5ede9da0e341c4cdfe (diff)
parentcfdca829382b83081a897ae36c4196678b52a9b4 (diff)
downloadpodman-7503c5544d506826e2d8602d95433eef98208e83.tar.gz
podman-7503c5544d506826e2d8602d95433eef98208e83.tar.bz2
podman-7503c5544d506826e2d8602d95433eef98208e83.zip
Merge pull request #15491 from marshall-lee/bindings-schema-ignore
Mark some of the option fields as ignored in pkg/bindings
Diffstat (limited to 'pkg/bindings/images/images.go')
-rw-r--r--pkg/bindings/images/images.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/bindings/images/images.go b/pkg/bindings/images/images.go
index bb7867c4e..ea7d445db 100644
--- a/pkg/bindings/images/images.go
+++ b/pkg/bindings/images/images.go
@@ -282,9 +282,9 @@ func Search(ctx context.Context, term string, options *SearchOptions) ([]entitie
}
params.Set("term", term)
- // Note: we have to verify if skipped is false.
+ // SkipTLSVerify is special. It's not being serialized by ToParams()
+ // because we need to flip the boolean.
if options.SkipTLSVerify != nil {
- params.Del("SkipTLSVerify")
params.Set("tlsVerify", strconv.FormatBool(!options.GetSkipTLSVerify()))
}