aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab/export.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-02-15 15:50:56 +0100
committerGitHub <noreply@github.com>2020-02-15 15:50:56 +0100
commit157e10f2e1d49748f62e210cadc088ecae9f3dfc (patch)
treea0740cc0b8b82fac54e9e863e76f7a7ad85cd672 /bridge/gitlab/export.go
parent02548c0e8f96a5c08efe46bd5f71f97fdd211de3 (diff)
parente231b6e83956635e5e4923c064cab19e6730150a (diff)
downloadgit-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/gitlab/export.go')
-rw-r--r--bridge/gitlab/export.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/gitlab/export.go b/bridge/gitlab/export.go
index 156aabaa..918e6b5e 100644
--- a/bridge/gitlab/export.go
+++ b/bridge/gitlab/export.go
@@ -38,7 +38,7 @@ type gitlabExporter struct {
}
// Init .
-func (ge *gitlabExporter) Init(repo *cache.RepoCache, conf core.Configuration) error {
+func (ge *gitlabExporter) Init(_ context.Context, repo *cache.RepoCache, conf core.Configuration) error {
ge.conf = conf
ge.identityClient = make(map[entity.Id]*gitlab.Client)
ge.cachedOperationIDs = make(map[string]string)