aboutsummaryrefslogtreecommitdiff
path: root/pkg/bindings/internal/util/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/bindings/internal/util/util.go')
-rw-r--r--pkg/bindings/internal/util/util.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/bindings/internal/util/util.go b/pkg/bindings/internal/util/util.go
index f8f99d6c1..52ce14738 100644
--- a/pkg/bindings/internal/util/util.go
+++ b/pkg/bindings/internal/util/util.go
@@ -74,6 +74,9 @@ func ToParams(o interface{}) (url.Values, error) {
}
paramName := fieldName
if pn, ok := sType.Field(i).Tag.Lookup("schema"); ok {
+ if pn == "-" {
+ continue
+ }
paramName = pn
}
switch {