From 407faca612f02e29ca9d7d6939442eb638d8da5a Mon Sep 17 00:00:00 2001 From: Vsevolod Strukchinsky Date: Mon, 10 Feb 2014 12:40:18 +0600 Subject: [PATCH] Fixed another github client instance in code --- pkg/queue/queue.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/queue/queue.go b/pkg/queue/queue.go index db49944cc..e931c46f0 100644 --- a/pkg/queue/queue.go +++ b/pkg/queue/queue.go @@ -225,6 +225,7 @@ func updateGitHubStatus(repo *Repo, commit *Commit) error { } client := github.New(user.GithubToken) + client.ApiUrl = settings.GitHubApiUrl; var url string url = settings.URL().String() + "/" + repo.Slug + "/commit/" + commit.Hash