You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/12/04 07:43:08 UTC

[GitHub] [apisix-dashboard] starsz commented on a change in pull request #958: feat: implement API to get apisix instances status

starsz commented on a change in pull request #958:
URL: https://github.com/apache/apisix-dashboard/pull/958#discussion_r535896438



##########
File path: api/internal/core/entity/entity.go
##########
@@ -220,3 +220,12 @@ type Script struct {
 	ID     string      `json:"id"`
 	Script interface{} `json:"script,omitempty"`
 }
+
+type ServerInfo struct {
+	BaseInfo
+	LastReportTime int    `json:"last_report_time,omitempty"`

Review comment:
       Fixed.

##########
File path: api/internal/core/entity/entity.go
##########
@@ -220,3 +220,12 @@ type Script struct {
 	ID     string      `json:"id"`
 	Script interface{} `json:"script,omitempty"`
 }
+
+type ServerInfo struct {
+	BaseInfo
+	LastReportTime int    `json:"last_report_time,omitempty"`
+	UpTime         int    `json:"up_time,omitempty"`

Review comment:
       Fixed.




----------------------------------------------------------------
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:
users@infra.apache.org