diff options
author | Amine <hilalyamine@gmail.com> | 2019-11-05 23:22:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-05 23:22:34 +0100 |
commit | 318039df31b0846de85e6469d75c3fd5fe5a00a1 (patch) | |
tree | f24a42aaa3ab40396afbd498dbc3ffc33b8d53d9 /bridge/gitlab | |
parent | a0697c79ff9ae87f33d6887cc065a1b2f234cf49 (diff) | |
parent | bf84a789c9b40b3f52ccced3857080f511e70cd4 (diff) | |
download | git-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.go | 5 |
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' |