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/system | |
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/system')
-rw-r--r-- | pkg/bindings/system/types_disk_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/system/types_events_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/system/types_info_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/system/types_prune_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/system/types_version_options.go | 3 |
5 files changed, 0 insertions, 15 deletions
diff --git a/pkg/bindings/system/types_disk_options.go b/pkg/bindings/system/types_disk_options.go index 0af9e2c6a..6f0c3735a 100644 --- a/pkg/bindings/system/types_disk_options.go +++ b/pkg/bindings/system/types_disk_options.go @@ -1,7 +1,6 @@ package system import ( - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *DiskOptions) 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/system/types_events_options.go b/pkg/bindings/system/types_events_options.go index 9792eb059..401a9807e 100644 --- a/pkg/bindings/system/types_events_options.go +++ b/pkg/bindings/system/types_events_options.go @@ -1,7 +1,6 @@ package system import ( - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *EventsOptions) 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/system/types_info_options.go b/pkg/bindings/system/types_info_options.go index 6efbedcab..7c07b5081 100644 --- a/pkg/bindings/system/types_info_options.go +++ b/pkg/bindings/system/types_info_options.go @@ -1,7 +1,6 @@ package system import ( - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *InfoOptions) 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/system/types_prune_options.go b/pkg/bindings/system/types_prune_options.go index 0600ee4c1..c677ccca6 100644 --- a/pkg/bindings/system/types_prune_options.go +++ b/pkg/bindings/system/types_prune_options.go @@ -1,7 +1,6 @@ package system import ( - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *PruneOptions) 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/system/types_version_options.go b/pkg/bindings/system/types_version_options.go index 71280254f..60ebfced9 100644 --- a/pkg/bindings/system/types_version_options.go +++ b/pkg/bindings/system/types_version_options.go @@ -1,7 +1,6 @@ package system import ( - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *VersionOptions) ToParams() (url.Values, error) { } params.Set(fieldName, s) - default: - panic(fmt.Sprintf("don't known how to handle %s", f.Type().String())) } } |