diff options
Diffstat (limited to 'pkg/bindings/network')
-rw-r--r-- | pkg/bindings/network/types_connect_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/network/types_create_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/network/types_disconnect_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/network/types_exists_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/network/types_inspect_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/network/types_list_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/network/types_remove_options.go | 3 |
7 files changed, 0 insertions, 21 deletions
diff --git a/pkg/bindings/network/types_connect_options.go b/pkg/bindings/network/types_connect_options.go index 72ad988f1..4440bbed4 100644 --- a/pkg/bindings/network/types_connect_options.go +++ b/pkg/bindings/network/types_connect_options.go @@ -1,7 +1,6 @@ package network import ( - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *ConnectOptions) 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/network/types_create_options.go b/pkg/bindings/network/types_create_options.go index 23a7dc6bf..5fbdce93a 100644 --- a/pkg/bindings/network/types_create_options.go +++ b/pkg/bindings/network/types_create_options.go @@ -1,7 +1,6 @@ package network import ( - "fmt" "net" "net/url" "reflect" @@ -70,8 +69,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/network/types_disconnect_options.go b/pkg/bindings/network/types_disconnect_options.go index 56ba995c5..947f2f114 100644 --- a/pkg/bindings/network/types_disconnect_options.go +++ b/pkg/bindings/network/types_disconnect_options.go @@ -1,7 +1,6 @@ package network import ( - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *DisconnectOptions) 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/network/types_exists_options.go b/pkg/bindings/network/types_exists_options.go index 3cc2246bf..2fad34789 100644 --- a/pkg/bindings/network/types_exists_options.go +++ b/pkg/bindings/network/types_exists_options.go @@ -1,7 +1,6 @@ package network import ( - "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/network/types_inspect_options.go b/pkg/bindings/network/types_inspect_options.go index 0c28b8ec4..144ccbfae 100644 --- a/pkg/bindings/network/types_inspect_options.go +++ b/pkg/bindings/network/types_inspect_options.go @@ -1,7 +1,6 @@ package network import ( - "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/network/types_list_options.go b/pkg/bindings/network/types_list_options.go index fa779b65c..60632ce33 100644 --- a/pkg/bindings/network/types_list_options.go +++ b/pkg/bindings/network/types_list_options.go @@ -1,7 +1,6 @@ package network import ( - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *ListOptions) 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/network/types_remove_options.go b/pkg/bindings/network/types_remove_options.go index c036d525f..4ad4a2301 100644 --- a/pkg/bindings/network/types_remove_options.go +++ b/pkg/bindings/network/types_remove_options.go @@ -1,7 +1,6 @@ package network import ( - "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())) } } |