summaryrefslogtreecommitdiff
path: root/pkg/bindings/system
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/system
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/system')
-rw-r--r--pkg/bindings/system/types_disk_options.go3
-rw-r--r--pkg/bindings/system/types_events_options.go3
-rw-r--r--pkg/bindings/system/types_info_options.go3
-rw-r--r--pkg/bindings/system/types_prune_options.go3
-rw-r--r--pkg/bindings/system/types_version_options.go3
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()))
}
}