From e231b6e83956635e5e4923c064cab19e6730150a Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sat, 15 Feb 2020 15:39:49 +0100 Subject: bridges: pass the context to Init for when a client build process needs it --- bridge/github/import.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge/github/import.go') 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)) -- cgit