summaryrefslogtreecommitdiff
path: root/pkg/bindings/generate
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/generate
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/generate')
-rw-r--r--pkg/bindings/generate/types_kube_options.go3
-rw-r--r--pkg/bindings/generate/types_systemd_options.go3
2 files changed, 0 insertions, 6 deletions
diff --git a/pkg/bindings/generate/types_kube_options.go b/pkg/bindings/generate/types_kube_options.go
index edc511c30..218d308e1 100644
--- a/pkg/bindings/generate/types_kube_options.go
+++ b/pkg/bindings/generate/types_kube_options.go
@@ -2,7 +2,6 @@ package generate
import (
"errors"
- "fmt"
"net/url"
"reflect"
"strings"
@@ -69,8 +68,6 @@ func (o *KubeOptions) ToParams() (url.Values, error) {
}
params.Set(fieldName, s)
- default:
- panic(fmt.Sprintf("don't known how to handle %s", f.Type().String()))
}
}
diff --git a/pkg/bindings/generate/types_systemd_options.go b/pkg/bindings/generate/types_systemd_options.go
index b9937a827..faf981d1b 100644
--- a/pkg/bindings/generate/types_systemd_options.go
+++ b/pkg/bindings/generate/types_systemd_options.go
@@ -2,7 +2,6 @@ package generate
import (
"errors"
- "fmt"
"net/url"
"reflect"
"strings"
@@ -69,8 +68,6 @@ func (o *SystemdOptions) ToParams() (url.Values, error) {
}
params.Set(fieldName, s)
- default:
- panic(fmt.Sprintf("don't known how to handle %s", f.Type().String()))
}
}