summaryrefslogtreecommitdiff
path: root/pkg/bindings/volumes
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/bindings/volumes')
-rw-r--r--pkg/bindings/volumes/types_create_options.go3
-rw-r--r--pkg/bindings/volumes/types_exists_options.go3
-rw-r--r--pkg/bindings/volumes/types_inspect_options.go3
-rw-r--r--pkg/bindings/volumes/types_list_options.go3
-rw-r--r--pkg/bindings/volumes/types_prune_options.go3
-rw-r--r--pkg/bindings/volumes/types_remove_options.go3
6 files changed, 0 insertions, 18 deletions
diff --git a/pkg/bindings/volumes/types_create_options.go b/pkg/bindings/volumes/types_create_options.go
index 13b2b6412..2254f8c13 100644
--- a/pkg/bindings/volumes/types_create_options.go
+++ b/pkg/bindings/volumes/types_create_options.go
@@ -1,7 +1,6 @@
package volumes
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/volumes/types_exists_options.go b/pkg/bindings/volumes/types_exists_options.go
index 1203ada9d..9840b1bcd 100644
--- a/pkg/bindings/volumes/types_exists_options.go
+++ b/pkg/bindings/volumes/types_exists_options.go
@@ -1,7 +1,6 @@
package volumes
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/volumes/types_inspect_options.go b/pkg/bindings/volumes/types_inspect_options.go
index db080279e..51ac2d348 100644
--- a/pkg/bindings/volumes/types_inspect_options.go
+++ b/pkg/bindings/volumes/types_inspect_options.go
@@ -1,7 +1,6 @@
package volumes
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/volumes/types_list_options.go b/pkg/bindings/volumes/types_list_options.go
index ae28f7949..c96e647b0 100644
--- a/pkg/bindings/volumes/types_list_options.go
+++ b/pkg/bindings/volumes/types_list_options.go
@@ -1,7 +1,6 @@
package volumes
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/volumes/types_prune_options.go b/pkg/bindings/volumes/types_prune_options.go
index a3bb42110..06d16b659 100644
--- a/pkg/bindings/volumes/types_prune_options.go
+++ b/pkg/bindings/volumes/types_prune_options.go
@@ -1,7 +1,6 @@
package volumes
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/volumes/types_remove_options.go b/pkg/bindings/volumes/types_remove_options.go
index 4a4de1327..4b0037234 100644
--- a/pkg/bindings/volumes/types_remove_options.go
+++ b/pkg/bindings/volumes/types_remove_options.go
@@ -1,7 +1,6 @@
package volumes
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()))
}
}