diff options
author | Matej Vasek <mvasek@redhat.com> | 2021-02-02 21:13:51 +0100 |
---|---|---|
committer | Matej Vasek <mvasek@redhat.com> | 2021-02-02 21:13:51 +0100 |
commit | 89df89b5fbc7e62383a1bea34750e9689482b448 (patch) | |
tree | 62de845cda81ac42a753a4ee1edb193b32580a42 /pkg/bindings/manifests | |
parent | ac3bd4c3318d2e15680d7dd62e76f5f58db4d425 (diff) | |
download | podman-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/manifests')
-rw-r--r-- | pkg/bindings/manifests/types_add_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/manifests/types_create_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/manifests/types_exists_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/manifests/types_inspect_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/manifests/types_remove_options.go | 3 |
5 files changed, 0 insertions, 15 deletions
diff --git a/pkg/bindings/manifests/types_add_options.go b/pkg/bindings/manifests/types_add_options.go index 049419dda..61314c479 100644 --- a/pkg/bindings/manifests/types_add_options.go +++ b/pkg/bindings/manifests/types_add_options.go @@ -2,7 +2,6 @@ package manifests import ( "errors" - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *AddOptions) 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/manifests/types_create_options.go b/pkg/bindings/manifests/types_create_options.go index c5c55075d..4c7c1397a 100644 --- a/pkg/bindings/manifests/types_create_options.go +++ b/pkg/bindings/manifests/types_create_options.go @@ -2,7 +2,6 @@ package manifests import ( "errors" - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *CreateOptions) 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/manifests/types_exists_options.go b/pkg/bindings/manifests/types_exists_options.go index 06e0cf13b..2a4962ae6 100644 --- a/pkg/bindings/manifests/types_exists_options.go +++ b/pkg/bindings/manifests/types_exists_options.go @@ -2,7 +2,6 @@ package manifests import ( "errors" - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *ExistsOptions) 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/manifests/types_inspect_options.go b/pkg/bindings/manifests/types_inspect_options.go index efcf70b5f..0b82fc3cf 100644 --- a/pkg/bindings/manifests/types_inspect_options.go +++ b/pkg/bindings/manifests/types_inspect_options.go @@ -2,7 +2,6 @@ package manifests import ( "errors" - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *InspectOptions) 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/manifests/types_remove_options.go b/pkg/bindings/manifests/types_remove_options.go index 48264dd1c..6ed0fd329 100644 --- a/pkg/bindings/manifests/types_remove_options.go +++ b/pkg/bindings/manifests/types_remove_options.go @@ -2,7 +2,6 @@ package manifests import ( "errors" - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *RemoveOptions) ToParams() (url.Values, error) { } params.Set(fieldName, s) - default: - panic(fmt.Sprintf("don't known how to handle %s", f.Type().String())) } } |