summaryrefslogtreecommitdiff
path: root/pkg/bindings/pods
diff options
context:
space:
mode:
authorMatej Vasek <mvasek@redhat.com>2021-02-02 21:13:51 +0100
committerMatej Vasek <mvasek@redhat.com>2021-02-02 21:13:51 +0100
commit89df89b5fbc7e62383a1bea34750e9689482b448 (patch)
tree62de845cda81ac42a753a4ee1edb193b32580a42 /pkg/bindings/pods
parentac3bd4c3318d2e15680d7dd62e76f5f58db4d425 (diff)
downloadpodman-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/pods')
-rw-r--r--pkg/bindings/pods/types_create_options.go3
-rw-r--r--pkg/bindings/pods/types_exists_options.go3
-rw-r--r--pkg/bindings/pods/types_inspect_options.go3
-rw-r--r--pkg/bindings/pods/types_kill_options.go3
-rw-r--r--pkg/bindings/pods/types_list_options.go3
-rw-r--r--pkg/bindings/pods/types_pause_options.go3
-rw-r--r--pkg/bindings/pods/types_prune_options.go3
-rw-r--r--pkg/bindings/pods/types_remove_options.go3
-rw-r--r--pkg/bindings/pods/types_restart_options.go3
-rw-r--r--pkg/bindings/pods/types_start_options.go3
-rw-r--r--pkg/bindings/pods/types_stats_options.go3
-rw-r--r--pkg/bindings/pods/types_stop_options.go3
-rw-r--r--pkg/bindings/pods/types_top_options.go3
-rw-r--r--pkg/bindings/pods/types_unpause_options.go3
14 files changed, 0 insertions, 42 deletions
diff --git a/pkg/bindings/pods/types_create_options.go b/pkg/bindings/pods/types_create_options.go
index 337d924e2..cfa29c6be 100644
--- a/pkg/bindings/pods/types_create_options.go
+++ b/pkg/bindings/pods/types_create_options.go
@@ -1,7 +1,6 @@
package pods
import (
- "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/pods/types_exists_options.go b/pkg/bindings/pods/types_exists_options.go
index 28e90e398..6149ab1cc 100644
--- a/pkg/bindings/pods/types_exists_options.go
+++ b/pkg/bindings/pods/types_exists_options.go
@@ -1,7 +1,6 @@
package pods
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/pods/types_inspect_options.go b/pkg/bindings/pods/types_inspect_options.go
index 4c19f5664..281717ff1 100644
--- a/pkg/bindings/pods/types_inspect_options.go
+++ b/pkg/bindings/pods/types_inspect_options.go
@@ -1,7 +1,6 @@
package pods
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/pods/types_kill_options.go b/pkg/bindings/pods/types_kill_options.go
index 4d0806b8a..4c310d50c 100644
--- a/pkg/bindings/pods/types_kill_options.go
+++ b/pkg/bindings/pods/types_kill_options.go
@@ -1,7 +1,6 @@
package pods
import (
- "fmt"
"net/url"
"reflect"
"strings"
@@ -69,8 +68,6 @@ func (o *KillOptions) 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/pods/types_list_options.go b/pkg/bindings/pods/types_list_options.go
index 36179ad5d..20f3229e5 100644
--- a/pkg/bindings/pods/types_list_options.go
+++ b/pkg/bindings/pods/types_list_options.go
@@ -1,7 +1,6 @@
package pods
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/pods/types_pause_options.go b/pkg/bindings/pods/types_pause_options.go
index 2980f738b..0f0f5bd97 100644
--- a/pkg/bindings/pods/types_pause_options.go
+++ b/pkg/bindings/pods/types_pause_options.go
@@ -1,7 +1,6 @@
package pods
import (
- "fmt"
"net/url"
"reflect"
"strings"
@@ -69,8 +68,6 @@ func (o *PauseOptions) 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/pods/types_prune_options.go b/pkg/bindings/pods/types_prune_options.go
index d24636c0e..ef8aae17f 100644
--- a/pkg/bindings/pods/types_prune_options.go
+++ b/pkg/bindings/pods/types_prune_options.go
@@ -1,7 +1,6 @@
package pods
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/pods/types_remove_options.go b/pkg/bindings/pods/types_remove_options.go
index 93c5e72f6..f51f67129 100644
--- a/pkg/bindings/pods/types_remove_options.go
+++ b/pkg/bindings/pods/types_remove_options.go
@@ -1,7 +1,6 @@
package pods
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()))
}
}
diff --git a/pkg/bindings/pods/types_restart_options.go b/pkg/bindings/pods/types_restart_options.go
index add272bbd..ec05e9fc9 100644
--- a/pkg/bindings/pods/types_restart_options.go
+++ b/pkg/bindings/pods/types_restart_options.go
@@ -1,7 +1,6 @@
package pods
import (
- "fmt"
"net/url"
"reflect"
"strings"
@@ -69,8 +68,6 @@ func (o *RestartOptions) 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/pods/types_start_options.go b/pkg/bindings/pods/types_start_options.go
index 1adffc6a5..ec9f5b1de 100644
--- a/pkg/bindings/pods/types_start_options.go
+++ b/pkg/bindings/pods/types_start_options.go
@@ -1,7 +1,6 @@
package pods
import (
- "fmt"
"net/url"
"reflect"
"strings"
@@ -69,8 +68,6 @@ func (o *StartOptions) 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/pods/types_stats_options.go b/pkg/bindings/pods/types_stats_options.go
index 06416f1a2..8be7d175d 100644
--- a/pkg/bindings/pods/types_stats_options.go
+++ b/pkg/bindings/pods/types_stats_options.go
@@ -1,7 +1,6 @@
package pods
import (
- "fmt"
"net/url"
"reflect"
"strings"
@@ -69,8 +68,6 @@ func (o *StatsOptions) 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/pods/types_stop_options.go b/pkg/bindings/pods/types_stop_options.go
index f3e345d48..fa3577e72 100644
--- a/pkg/bindings/pods/types_stop_options.go
+++ b/pkg/bindings/pods/types_stop_options.go
@@ -1,7 +1,6 @@
package pods
import (
- "fmt"
"net/url"
"reflect"
"strings"
@@ -69,8 +68,6 @@ func (o *StopOptions) 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/pods/types_top_options.go b/pkg/bindings/pods/types_top_options.go
index 353520ffd..c3c701dad 100644
--- a/pkg/bindings/pods/types_top_options.go
+++ b/pkg/bindings/pods/types_top_options.go
@@ -1,7 +1,6 @@
package pods
import (
- "fmt"
"net/url"
"reflect"
"strings"
@@ -69,8 +68,6 @@ func (o *TopOptions) 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/pods/types_unpause_options.go b/pkg/bindings/pods/types_unpause_options.go
index 640ce4066..281f0ea8d 100644
--- a/pkg/bindings/pods/types_unpause_options.go
+++ b/pkg/bindings/pods/types_unpause_options.go
@@ -1,7 +1,6 @@
package pods
import (
- "fmt"
"net/url"
"reflect"
"strings"
@@ -69,8 +68,6 @@ func (o *UnpauseOptions) ToParams() (url.Values, error) {
}
params.Set(fieldName, s)
- default:
- panic(fmt.Sprintf("don't known how to handle %s", f.Type().String()))
}
}