summaryrefslogtreecommitdiff
path: root/pkg/bindings/generator
diff options
context:
space:
mode:
authorMatej Vasek <mvasek@redhat.com>2021-02-02 21:13:51 +0100
committerMatej Vasek <mvasek@redhat.com>2021-02-02 21:13:51 +0100
commit89df89b5fbc7e62383a1bea34750e9689482b448 (patch)
tree62de845cda81ac42a753a4ee1edb193b32580a42 /pkg/bindings/generator
parentac3bd4c3318d2e15680d7dd62e76f5f58db4d425 (diff)
downloadpodman-89df89b5fbc7e62383a1bea34750e9689482b448.tar.gz
podman-89df89b5fbc7e62383a1bea34750e9689482b448.tar.bz2
podman-89df89b5fbc7e62383a1bea34750e9689482b448.zip
[NO TESTS NEEDED] fixup: remove debug code
Signed-off-by: Matej Vasek <mvasek@redhat.com>
Diffstat (limited to 'pkg/bindings/generator')
-rw-r--r--pkg/bindings/generator/generator.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/bindings/generator/generator.go b/pkg/bindings/generator/generator.go
index 5a5cabe53..609d3ffcf 100644
--- a/pkg/bindings/generator/generator.go
+++ b/pkg/bindings/generator/generator.go
@@ -79,8 +79,6 @@ func (o *{{.StructName}}) ToParams() (url.Values, error) {
}
params.Set(fieldName, s)
- default:
- panic(fmt.Sprintf("don't known how to handle %s", f.Type().String()))
}
}