aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab/gitlab.go
diff options
context:
space:
mode:
authorAmine Hilaly <hilalyamine@gmail.com>2019-07-23 17:29:53 +0200
committerAmine Hilaly <hilalyamine@gmail.com>2019-07-23 17:29:53 +0200
commit0329bfdf440ec48c5c5c5c6dbe2ca8519d99b706 (patch)
treefbff33e372cdd8ca5008a61d9993785baa17b9f4 /bridge/gitlab/gitlab.go
parentd098a96407c55281c28bfdea9925df587b4d4400 (diff)
downloadgit-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.go12
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 {