aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab/import.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-02-15 15:39:49 +0100
committerMichael Muré <batolettre@gmail.com>2020-02-15 15:46:36 +0100
commite231b6e83956635e5e4923c064cab19e6730150a (patch)
treea0740cc0b8b82fac54e9e863e76f7a7ad85cd672 /bridge/gitlab/import.go
parent02548c0e8f96a5c08efe46bd5f71f97fdd211de3 (diff)
downloadgit-bug-e231b6e83956635e5e4923c064cab19e6730150a.tar.gz
bridges: pass the context to Init for when a client build process needs it
Diffstat (limited to 'bridge/gitlab/import.go')
-rw-r--r--bridge/gitlab/import.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/gitlab/import.go b/bridge/gitlab/import.go
index c8d74bef..5faf5c48 100644
--- a/bridge/gitlab/import.go
+++ b/bridge/gitlab/import.go
@@ -30,7 +30,7 @@ type gitlabImporter struct {
out chan<- core.ImportResult
}
-func (gi *gitlabImporter) Init(repo *cache.RepoCache, conf core.Configuration) error {
+func (gi *gitlabImporter) Init(_ context.Context, repo *cache.RepoCache, conf core.Configuration) error {
gi.conf = conf
creds, err := auth.List(repo,