liuxiran commented on a change in pull request #1081:
URL: https://github.com/apache/apisix-dashboard/pull/1081#discussion_r546479899



##########
File path: api/internal/core/entity/entity.go
##########
@@ -83,6 +83,7 @@ type Route struct {
        ServiceProtocol string                 
`json:"service_protocol,omitempty"`
        Labels          map[string]string      `json:"labels,omitempty"`
        EnableWebsocket bool                   
`json:"enable_websocket,omitempty"`
+       Status          uint8                  `json:"status"`

Review comment:
       `status` only expect 0 or 1, so define the type of `Status` is `uint8` 




----------------------------------------------------------------
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:
[email protected]


Reply via email to