aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/jira/import.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-02-26 07:38:13 +0100
committerGitHub <noreply@github.com>2020-02-26 07:38:13 +0100
commit0c791483286ce2ed845bbc77b2a2899149ad83c5 (patch)
tree6129d0a6e2efbfa81b26534ee5aeb65ba1261bfe /bridge/jira/import.go
parent68acfa519ab6656648d1e976db2a4190bbeb5f44 (diff)
parent893de4f5c0e852fac9a73e0c0243bc038af75f17 (diff)
downloadgit-bug-0c791483286ce2ed845bbc77b2a2899149ad83c5.tar.gz
Merge pull request #343 from MichaelMure/login-is-back
identity: bring back the login to hold that info from bridges
Diffstat (limited to 'bridge/jira/import.go')
-rw-r--r--bridge/jira/import.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/bridge/jira/import.go b/bridge/jira/import.go
index 21305bd5..3d6d5414 100644
--- a/bridge/jira/import.go
+++ b/bridge/jira/import.go
@@ -194,9 +194,10 @@ func (ji *jiraImporter) ensurePerson(repo *cache.RepoCache, user User) (*cache.I
i, err = repo.NewIdentityRaw(
user.DisplayName,
user.EmailAddress,
+ user.Key,
"",
map[string]string{
- metaKeyJiraUser: string(user.Key),
+ metaKeyJiraUser: user.Key,
},
)