From 7b62f3ff850e5dcf839dfbc09c3a2ffcf52b7984 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Tue, 9 Sep 2014 12:08:48 -0700 Subject: [PATCH] Update github.go --- plugin/notify/github/github.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/notify/github/github.go b/plugin/notify/github/github.go index b37393a75c..7d7b22ac7c 100644 --- a/plugin/notify/github/github.go +++ b/plugin/notify/github/github.go @@ -95,7 +95,7 @@ func send(rawurl, host, owner, repo, status, desc, target, ref, token string) er // the base url. Per the documentation, we need to // ensure there is a trailing slash. if host != model.RemoteGithub { - client.BaseURL, _ = getEndpoint(rawurl) + client.BaseURL, _ = getEndpoint(rawurl)+"/" } _, _, err := client.Repositories.CreateStatus(owner, repo, ref, &data)