Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update server.go #228

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update server.go
A "nil" always results in a gitlab.com address. Not sure but the GitlabHostname should be included here?
  • Loading branch information
cooling75 authored Jan 12, 2018
commit 853434e62243ea6ef948aea6bf7a069515578959
2 changes: 1 addition & 1 deletion server/server.go
Original file line number Diff line number Diff line change
@@ -103,7 +103,7 @@ func NewServer(config Config) (*Server, error) {
if config.GitlabUser != "" {
supportedVCSHosts = append(supportedVCSHosts, vcs.Gitlab)
gitlabClient = &vcs.GitlabClient{
Client: gitlab.NewClient(nil, config.GitlabToken),
Client: gitlab.NewClient(config.GitlabHostname, config.GitlabToken),
}
}
var webhooksConfig []webhooks.Config