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_r161351375
##########
File path: server/service/microservices.go
##########
@@ -585,26 +580,26 @@ func (s *MicroServiceService) Exist(ctx context.Context,
in *pb.GetExistenceRequ
Tenant: domainProject,
})
if err != nil {
- util.Logger().Errorf(err, "microservice exist failed,
service %s: find serviceIds failed.", serviceFlag)
+ util.Logger().Errorf(err, "micro-service exist failed,
service %s: find serviceIds failed.", serviceFlag)
return &pb.GetExistenceResponse{
- Response: pb.CreateResponse(scerr.ErrInternal,
"Get service file failed."),
+ Response: pb.CreateResponse(scerr.ErrInternal,
"get service file failed."),
}, err
}
if len(ids) <= 0 {
- util.Logger().Infof("microservice exist failed, service
%s: service not exist.", serviceFlag)
+ util.Logger().Infof("micro-service exist failed,
service %s: service not exist.", serviceFlag)
return &pb.GetExistenceResponse{
- Response:
pb.CreateResponse(scerr.ErrServiceNotExists, "Service does not exist."),
+ Response:
pb.CreateResponse(scerr.ErrServiceNotExists, "service does not exist."),
Review comment:
Please print the specific micro-service.
----------------------------------------------------------------
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