diff options
author | Michael Muré <batolettre@gmail.com> | 2020-02-15 16:12:21 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-02-15 16:12:21 +0100 |
commit | 01b0a931f737080c46373bee08bb4a21e932140a (patch) | |
tree | 5559678e01c9951d55a40b5268aed2a818fcb7dc /bridge/jira/config.go | |
parent | 5c230cb81e399f12cc7a1c1688b73f549b12a5f0 (diff) | |
download | git-bug-01b0a931f737080c46373bee08bb4a21e932140a.tar.gz |
jira: fix a nil context
Diffstat (limited to 'bridge/jira/config.go')
-rw-r--r-- | bridge/jira/config.go | 3 |
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 } |