aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/jira/config.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-07-28 12:56:46 +0200
committerMichael Muré <batolettre@gmail.com>2020-09-29 20:42:21 +0200
commit3ecbf8db28105d147340b80d65a5a6d537233135 (patch)
tree9bda351f7d1d520fa0ae51b155792ffca3517a9d /bridge/jira/config.go
parentb127481364176ac7ecb56c1604e1460251574859 (diff)
downloadgit-bug-3ecbf8db28105d147340b80d65a5a6d537233135.tar.gz
bridge: store credentials in the Keyring instead of the git config
Diffstat (limited to 'bridge/jira/config.go')
-rw-r--r--bridge/jira/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/jira/config.go b/bridge/jira/config.go
index ffd3bdc1..717046e2 100644
--- a/bridge/jira/config.go
+++ b/bridge/jira/config.go
@@ -163,7 +163,7 @@ func (*Jira) ValidateConfig(conf core.Configuration) error {
return nil
}
-func promptCredOptions(repo repository.RepoConfig, login, baseUrl string) (auth.Credential, error) {
+func promptCredOptions(repo repository.RepoKeyring, login, baseUrl string) (auth.Credential, error) {
creds, err := auth.List(repo,
auth.WithTarget(target),
auth.WithKind(auth.KindToken),