DFSOrange commented on a change in pull request #855:
URL: 
https://github.com/apache/servicecomb-service-center/pull/855#discussion_r572833149



##########
File path: datasource/mongo/client/errortypes.go
##########
@@ -26,7 +26,8 @@ var (
 )
 
 const (
-       DuplicateKey = 11000
+       DuplicateKey    = 11000

Review comment:
       > 这些错误码,mongodb没搞?
   
   当前go-driver中没有定义,只有在test中定义了,这里直接用test不太好因此在sc中重新放了一份
   
![微信截图_20210209200848](https://user-images.githubusercontent.com/26628394/107361686-bbd7d680-6b12-11eb-91c0-adcaa701844d.png)
   




----------------------------------------------------------------
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