diff options
author | Matej Vasek <mvasek@redhat.com> | 2021-02-02 21:15:29 +0100 |
---|---|---|
committer | Matej Vasek <mvasek@redhat.com> | 2021-02-02 21:15:29 +0100 |
commit | bde23a0219729e530895153b12d5578e9f02dab8 (patch) | |
tree | 8ce041d059f5fed56fd9072ebee71cb17be37add /pkg/bindings/generator/generator.go | |
parent | 89df89b5fbc7e62383a1bea34750e9689482b448 (diff) | |
download | podman-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.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: |