You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/03/17 02:49:52 UTC

[GitHub] [servicecomb-service-center] tianxiaoliang commented on a change in pull request #896: [SCB-2094] Restructure database/mongo

tianxiaoliang commented on a change in pull request #896:
URL: https://github.com/apache/servicecomb-service-center/pull/896#discussion_r594883692



##########
File path: datasource/mongo/util/db.go
##########
@@ -27,18 +27,84 @@ import (
 
 type Option func(filter bson.M)
 
-func Domain(domain string) Option {
+func Domain(domain interface{}) Option {

Review comment:
       为何从明确的改成不明确的




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