Skip to content
Snippets Groups Projects
Unverified Commit 01b0a931 authored by Michael Muré's avatar Michael Muré
Browse files

jira: fix a nil context

parent 5c230cb8
No related branches found
No related tags found
No related merge requests found
package jira package jira
import ( import (
"context"
"fmt" "fmt"
"github.com/MichaelMure/git-bug/bridge/core" "github.com/MichaelMure/git-bug/bridge/core"
...@@ -104,7 +105,7 @@ func (j *Jira) Configure(repo *cache.RepoCache, params core.BridgeParams) (core. ...@@ -104,7 +105,7 @@ func (j *Jira) Configure(repo *cache.RepoCache, params core.BridgeParams) (core.
} }
fmt.Printf("Attempting to login with credentials...\n") 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 { if err != nil {
return nil, err return nil, err
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment