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



##########
File path: server/service/rbac/rbac.go
##########
@@ -129,7 +129,7 @@ func initFirstTime(admin string) {
                return
        }
        if err := dao.CreateAccount(context.Background(), a); err != nil {
-               if err == datasource.ErrDuplicated {
+               if err == datasource.ErrAccountDuplicated {
                        log.Info("rbac is enabled")

Review comment:
       rbac is enabled并不准确应该是root acount is initialized,帮忙纠正




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