diff options
Diffstat (limited to 'pkg/bindings/generate')
-rw-r--r-- | pkg/bindings/generate/types_kube_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/generate/types_systemd_options.go | 3 |
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())) } } |