summaryrefslogtreecommitdiff
path: root/pkg/bindings/generator/generator.go
diff options
context:
space:
mode:
authorMatej Vasek <mvasek@redhat.com>2021-02-02 21:15:29 +0100
committerMatej Vasek <mvasek@redhat.com>2021-02-02 21:15:29 +0100
commitbde23a0219729e530895153b12d5578e9f02dab8 (patch)
tree8ce041d059f5fed56fd9072ebee71cb17be37add /pkg/bindings/generator/generator.go
parent89df89b5fbc7e62383a1bea34750e9689482b448 (diff)
downloadpodman-bde23a0219729e530895153b12d5578e9f02dab8.tar.gz
podman-bde23a0219729e530895153b12d5578e9f02dab8.tar.bz2
podman-bde23a0219729e530895153b12d5578e9f02dab8.zip
[NO TESTS NEEDED] style: indendation
Signed-off-by: Matej Vasek <mvasek@redhat.com>
Diffstat (limited to 'pkg/bindings/generator/generator.go')
-rw-r--r--pkg/bindings/generator/generator.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/bindings/generator/generator.go b/pkg/bindings/generator/generator.go
index 609d3ffcf..dad154166 100644
--- a/pkg/bindings/generator/generator.go
+++ b/pkg/bindings/generator/generator.go
@@ -54,7 +54,7 @@ func (o *{{.StructName}}) ToParams() (url.Values, error) {
if reflect.Ptr == f.Kind() {
f = f.Elem()
}
- switch {
+ switch {
case util.IsSimpleType(f):
params.Set(fieldName, util.SimpleTypeToParam(f))
case f.Kind() == reflect.Slice: