diff options
author | Michael Muré <batolettre@gmail.com> | 2022-03-10 18:41:54 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2022-03-10 18:41:54 +0100 |
commit | 6f1128245158d70019bb1471f1c2d5d352b5f1c9 (patch) | |
tree | df3c8f3101ad4c5d052d0e3795648f30082a17f1 /bridge | |
parent | 8e45eddbb5dd2ee9806a758d241fed8633d3c7bf (diff) | |
download | git-bug-6f1128245158d70019bb1471f1c2d5d352b5f1c9.tar.gz |
jira: fix incorrect client creation reusing the same credential
Diffstat (limited to 'bridge')
-rw-r--r-- | bridge/jira/export.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/jira/export.go b/bridge/jira/export.go index 34f41d09..e5c19074 100644 --- a/bridge/jira/export.go +++ b/bridge/jira/export.go @@ -110,7 +110,7 @@ func (je *jiraExporter) cacheAllClient(ctx context.Context, repo *cache.RepoCach } if _, ok := je.identityClient[user.Id()]; !ok { - client, err := buildClient(ctx, je.conf[confKeyBaseUrl], je.conf[confKeyCredentialType], creds[0]) + client, err := buildClient(ctx, je.conf[confKeyBaseUrl], je.conf[confKeyCredentialType], cred) if err != nil { return err } |