mirror of https://github.com/containers/podman.git
[NO TESTS NEEDED] style: indendation
Signed-off-by: Matej Vasek <mvasek@redhat.com>
This commit is contained in:
parent
89df89b5fb
commit
bde23a0219
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue