aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-02-15 16:12:21 +0100
committerMichael Muré <batolettre@gmail.com>2020-02-15 16:12:21 +0100
commit01b0a931f737080c46373bee08bb4a21e932140a (patch)
tree5559678e01c9951d55a40b5268aed2a818fcb7dc
parent5c230cb81e399f12cc7a1c1688b73f549b12a5f0 (diff)
downloadgit-bug-01b0a931f737080c46373bee08bb4a21e932140a.tar.gz
jira: fix a nil context
-rw-r--r--bridge/jira/config.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/bridge/jira/config.go b/bridge/jira/config.go
index c4743448..db52b83d 100644
--- a/bridge/jira/config.go
+++ b/bridge/jira/config.go
@@ -1,6 +1,7 @@
package jira
import (
+ "context"
"fmt"
"github.com/MichaelMure/git-bug/bridge/core"
@@ -104,7 +105,7 @@ func (j *Jira) Configure(repo *cache.RepoCache, params core.BridgeParams) (core.
}
fmt.Printf("Attempting to login with credentials...\n")
- client, err := buildClient(nil, baseURL, credType, cred)
+ client, err := buildClient(context.TODO(), baseURL, credType, cred)
if err != nil {
return nil, err
}