You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by wa...@apache.org on 2022/10/21 09:03:30 UTC
[incubator-devlake] branch main updated: fix: tapd user_name and full_name (#3539)
This is an automated email from the ASF dual-hosted git repository.
warren pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 7853386b2 fix: tapd user_name and full_name (#3539)
7853386b2 is described below
commit 7853386b27f68ebba7eb266b854a731f60db6d76
Author: abeizn <zi...@merico.dev>
AuthorDate: Fri Oct 21 17:03:25 2022 +0800
fix: tapd user_name and full_name (#3539)
---
plugins/tapd/tasks/account_converter.go | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/plugins/tapd/tasks/account_converter.go b/plugins/tapd/tasks/account_converter.go
index 0a43616fc..df6b983c2 100644
--- a/plugins/tapd/tasks/account_converter.go
+++ b/plugins/tapd/tasks/account_converter.go
@@ -18,9 +18,10 @@ limitations under the License.
package tasks
import (
- "github.com/apache/incubator-devlake/errors"
"reflect"
+ "github.com/apache/incubator-devlake/errors"
+
"github.com/apache/incubator-devlake/models/domainlayer/crossdomain"
"github.com/apache/incubator-devlake/models/domainlayer"
@@ -63,7 +64,8 @@ func ConvertAccounts(taskCtx core.SubTaskContext) errors.Error {
DomainEntity: domainlayer.DomainEntity{
Id: accountIdGen.Generate(data.Options.ConnectionId, userTool.User),
},
- UserName: userTool.Name,
+ UserName: userTool.User,
+ FullName: userTool.Name,
}
return []interface{}{