diff options
author | Michael Muré <batolettre@gmail.com> | 2020-02-15 15:50:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-15 15:50:56 +0100 |
commit | 157e10f2e1d49748f62e210cadc088ecae9f3dfc (patch) | |
tree | a0740cc0b8b82fac54e9e863e76f7a7ad85cd672 /bridge/github/import.go | |
parent | 02548c0e8f96a5c08efe46bd5f71f97fdd211de3 (diff) | |
parent | e231b6e83956635e5e4923c064cab19e6730150a (diff) | |
download | git-bug-157e10f2e1d49748f62e210cadc088ecae9f3dfc.tar.gz |
Merge pull request #328 from MichaelMure/bridge-refactor
bridges: pass the context to Init for when a client build process need it
Diffstat (limited to 'bridge/github/import.go')
-rw-r--r-- | bridge/github/import.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/github/import.go b/bridge/github/import.go index 3267c013..b30be73a 100644 --- a/bridge/github/import.go +++ b/bridge/github/import.go @@ -29,7 +29,7 @@ type githubImporter struct { out chan<- core.ImportResult } -func (gi *githubImporter) Init(repo *cache.RepoCache, conf core.Configuration) error { +func (gi *githubImporter) Init(_ context.Context, repo *cache.RepoCache, conf core.Configuration) error { gi.conf = conf creds, err := auth.List(repo, auth.WithTarget(target), auth.WithKind(auth.KindToken)) |