summaryrefslogtreecommitdiff
path: root/pkg/bindings/play
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-01-14 14:00:04 -0500
committerGitHub <noreply@github.com>2021-01-14 14:00:04 -0500
commit2b7793b6121d336a285fb7b9a7612c221cbf63d2 (patch)
tree690c081a1cffe6f33104a776f0e1101e76be2825 /pkg/bindings/play
parenta1b49749af97c5a3b6256b5aa0f53897257bc838 (diff)
parentd498ef53aa71066aec7771ebb7316bf3eb3d4cde (diff)
downloadpodman-2b7793b6121d336a285fb7b9a7612c221cbf63d2.tar.gz
podman-2b7793b6121d336a285fb7b9a7612c221cbf63d2.tar.bz2
podman-2b7793b6121d336a285fb7b9a7612c221cbf63d2.zip
Merge pull request #8956 from rhatdan/Makefile
Makefile: add target to generate bindings
Diffstat (limited to 'pkg/bindings/play')
-rw-r--r--pkg/bindings/play/types_kube_options.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/bindings/play/types_kube_options.go b/pkg/bindings/play/types_kube_options.go
index 91cdd30aa..5aec4b479 100644
--- a/pkg/bindings/play/types_kube_options.go
+++ b/pkg/bindings/play/types_kube_options.go
@@ -4,6 +4,7 @@ import (
"net/url"
"reflect"
"strconv"
+ "strings"
jsoniter "github.com/json-iterator/go"
"github.com/pkg/errors"
@@ -11,8 +12,6 @@ import (
/*
This file is generated automatically by go generate. Do not edit.
-
-Created 2020-12-18 15:58:02.386833736 -0600 CST m=+0.000171080
*/
// Changed
@@ -39,6 +38,7 @@ func (o *KubeOptions) ToParams() (url.Values, error) {
if !o.Changed(fieldName) {
continue
}
+ fieldName = strings.ToLower(fieldName)
f := s.Field(i)
if reflect.Ptr == f.Kind() {
f = f.Elem()