diff options
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())) } } |