summaryrefslogtreecommitdiff
path: root/pkg/bindings/system
diff options
context:
space:
mode:
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()))
}
}