little-cui commented on a change in pull request #248: optimize quota check log
URL:
https://github.com/apache/incubator-servicecomb-service-center/pull/248#discussion_r160618890
##########
File path: server/infra/quota/quota.go
##########
@@ -21,8 +21,40 @@ import (
"golang.org/x/net/context"
)
+type ApplyQuotaResult struct {
+ Reporter QuotaReporter
+ IsOk bool
+ Err error
+ Message string
Review comment:
Using scerr.Error instead of IsOk, Err, Message.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services