summaryrefslogtreecommitdiff
path: root/pkg/bindings
diff options
context:
space:
mode:
authorMatej Vasek <mvasek@redhat.com>2021-02-02 21:15:29 +0100
committerMatthew Heon <matthew.heon@pm.me>2021-02-08 14:28:28 -0500
commitd451aed9fe8d6c2e2cd51da43dcd37e2383f5264 (patch)
tree80afcdb3549ec4a3e19b2b68458c1a7e858e5777 /pkg/bindings
parent500874d2e2fb607f3a10fe3116a7237a15fd89a8 (diff)
downloadpodman-d451aed9fe8d6c2e2cd51da43dcd37e2383f5264.tar.gz
podman-d451aed9fe8d6c2e2cd51da43dcd37e2383f5264.tar.bz2
podman-d451aed9fe8d6c2e2cd51da43dcd37e2383f5264.zip
[NO TESTS NEEDED] style: indendation
Signed-off-by: Matej Vasek <mvasek@redhat.com>
Diffstat (limited to 'pkg/bindings')
-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: