diff options
author | Amine Hilaly <hilalyamine@gmail.com> | 2019-07-23 17:29:53 +0200 |
---|---|---|
committer | Amine Hilaly <hilalyamine@gmail.com> | 2019-07-23 17:29:53 +0200 |
commit | 0329bfdf440ec48c5c5c5c6dbe2ca8519d99b706 (patch) | |
tree | fbff33e372cdd8ca5008a61d9993785baa17b9f4 /bridge/gitlab/gitlab.go | |
parent | d098a96407c55281c28bfdea9925df587b4d4400 (diff) | |
download | git-bug-0329bfdf440ec48c5c5c5c6dbe2ca8519d99b706.tar.gz |
bridge/gitlab: change validateProjectURL signature
bridge/gitlab: code cleanup
Diffstat (limited to 'bridge/gitlab/gitlab.go')
-rw-r--r-- | bridge/gitlab/gitlab.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bridge/gitlab/gitlab.go b/bridge/gitlab/gitlab.go index 743ab172..a52ea2c1 100644 --- a/bridge/gitlab/gitlab.go +++ b/bridge/gitlab/gitlab.go @@ -10,14 +10,14 @@ import ( ) const ( - target = "gitlab" - keyProjectID = "project-id" + target = "gitlab" + keyGitlabId = "gitlab-id" keyGitlabUrl = "gitlab-url" keyGitlabLogin = "gitlab-login" - keyToken = "token" - keyTarget = "target" - keyOrigin = "origin" + + keyProjectID = "project-id" + keyToken = "token" defaultTimeout = 60 * time.Second ) @@ -37,7 +37,7 @@ func (*Gitlab) NewImporter() core.Importer { } func (*Gitlab) NewExporter() core.Exporter { - return &gitlabExporter{} + return nil } func buildClient(token string) *gitlab.Client { |