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



##########
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:
       cc @nic-chen 
   FE CI 
failed:https://github.com/apache/apisix-dashboard/pull/1594/checks?check_run_id=2110905208
   Remove the corresponding data: `"x-apimix-vars": []`




----------------------------------------------------------------
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