From 4029c1093c2b76f23f2f14a004fd25add41dce87 Mon Sep 17 00:00:00 2001 From: Don Olmstead Date: Tue, 11 Aug 2015 15:52:09 -0700 Subject: [PATCH] Fixing Github API for GHE --- pkg/remote/builtin/github/github.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/remote/builtin/github/github.go b/pkg/remote/builtin/github/github.go index 31507d385..5423178cf 100644 --- a/pkg/remote/builtin/github/github.go +++ b/pkg/remote/builtin/github/github.go @@ -63,7 +63,7 @@ func NewDriver(config string) (remote.Remote, error) { if github.URL == DefaultURL { github.API = DefaultAPI } else { - github.API = github.URL + "/v3/api/" + github.API = github.URL + "/api/v3/" } // here we cache permissions to avoid too many api