aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab
diff options
context:
space:
mode:
authorAmine <hilalyamine@gmail.com>2019-11-05 23:22:34 +0100
committerGitHub <noreply@github.com>2019-11-05 23:22:34 +0100
commit318039df31b0846de85e6469d75c3fd5fe5a00a1 (patch)
treef24a42aaa3ab40396afbd498dbc3ffc33b8d53d9 /bridge/gitlab
parenta0697c79ff9ae87f33d6887cc065a1b2f234cf49 (diff)
parentbf84a789c9b40b3f52ccced3857080f511e70cd4 (diff)
downloadgit-bug-318039df31b0846de85e6469d75c3fd5fe5a00a1.tar.gz
Merge pull request #243 from MichaelMure/github-iterator
bridge: global fixes to github and gitlab bridges
Diffstat (limited to 'bridge/gitlab')
-rw-r--r--bridge/gitlab/export_test.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/bridge/gitlab/export_test.go b/bridge/gitlab/export_test.go
index 02e06efd..3d3f406f 100644
--- a/bridge/gitlab/export_test.go
+++ b/bridge/gitlab/export_test.go
@@ -284,8 +284,11 @@ func createRepository(ctx context.Context, name, token string) (int, error) {
},
gitlab.WithContext(ctx),
)
+ if err != nil {
+ return 0, err
+ }
- return project.ID, err
+ return project.ID, nil
}
// delete repository need a token with scope 'delete_repo'