diff options
author | Matej Vasek <mvasek@redhat.com> | 2021-02-02 21:15:29 +0100 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2021-02-08 14:28:28 -0500 |
commit | d451aed9fe8d6c2e2cd51da43dcd37e2383f5264 (patch) | |
tree | 80afcdb3549ec4a3e19b2b68458c1a7e858e5777 /pkg/bindings | |
parent | 500874d2e2fb607f3a10fe3116a7237a15fd89a8 (diff) | |
download | podman-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.go | 2 |
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: |