Skip to content

Commit 557f400

Browse files
committed
patch: remove vars json encode/decode
1 parent 0443a72 commit 557f400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/types/apisix/v1/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ type Route struct {
112112
Uri string `json:"uri,omitempty" yaml:"uri,omitempty"`
113113
Priority int `json:"priority,omitempty" yaml:"priority,omitempty"`
114114
Timeout *UpstreamTimeout `json:"timeout,omitempty" yaml:"timeout,omitempty"`
115-
Vars Vars `json:"vars,omitempty" yaml:"vars,omitempty"`
115+
Vars Vars `json:"-" yaml:"-"`
116116
Uris []string `json:"uris,omitempty" yaml:"uris,omitempty"`
117117
Methods []string `json:"methods,omitempty" yaml:"methods,omitempty"`
118118
EnableWebsocket bool `json:"enable_websocket,omitempty" yaml:"enable_websocket,omitempty"`

0 commit comments

Comments
 (0)