aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/config.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-12-10 21:13:54 +0100
committerGitHub <noreply@github.com>2019-12-10 21:13:54 +0100
commite96d8e6771086e20639a16abf6af30f2faa006a0 (patch)
tree606c0d2897c06e4ca226d377917437c62fdd1560 /bridge/github/config.go
parentef6801a37f75fbc5f65b0a5db194b7f88b439e7b (diff)
parentf6b4830c0b68f3b5c616236bc9d51943765c8b4a (diff)
downloadgit-bug-e96d8e6771086e20639a16abf6af30f2faa006a0.tar.gz
Merge pull request #274 from MichaelMure/gitlab-bridge
bridge/gitlab: support self-hosted GitLab instance
Diffstat (limited to 'bridge/github/config.go')
-rw-r--r--bridge/github/config.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/bridge/github/config.go b/bridge/github/config.go
index a74e7f6b..bc26a2fc 100644
--- a/bridge/github/config.go
+++ b/bridge/github/config.go
@@ -44,6 +44,10 @@ var (
)
func (g *Github) Configure(repo *cache.RepoCache, params core.BridgeParams) (core.Configuration, error) {
+ if params.BaseURL != "" {
+ fmt.Println("warning: --base-url is ineffective for a Github bridge")
+ }
+
conf := make(core.Configuration)
var err error