tianxiaoliang commented on a change in pull request #91: #78 #80 add status and create/update time URL: https://github.com/apache/servicecomb-kie/pull/91#discussion_r377531176
########## File path: server/resource/v1/common.go ########## @@ -200,8 +198,19 @@ func checkPagination(limitStr, offsetStr string) (int64, int64, error) { } return limit, offset, err } + +func checkStatus(status string) (string, error) { + var err error + if status != "" { + if status != common.Enabled && status != common.Disabled { + return "", err Review comment: 这个err没有定义 ---------------------------------------------------------------- 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 With regards, Apache Git Services