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 2020/11/26 01:22:38 UTC

[GitHub] [servicecomb-service-center] little-cui commented on a change in pull request #762: SCB-2094 Add Dlock API

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



##########
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:
       Done




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