nic-chen commented on a change in pull request #1594:
URL: https://github.com/apache/apisix-dashboard/pull/1594#discussion_r594148156



##########
File path: api/internal/core/entity/entity.go
##########
@@ -81,7 +81,7 @@ type Route struct {
        Hosts           []string               `json:"hosts,omitempty"`
        RemoteAddr      string                 `json:"remote_addr,omitempty"`
        RemoteAddrs     []string               `json:"remote_addrs,omitempty"`
-       Vars            interface{}            `json:"vars,omitempty"`
+       Vars            []interface{}          `json:"vars,omitempty"`

Review comment:
       @Jaycean  please take a look at `Bugfix Description`, I wrote the reason 
there.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to