diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-06-19 13:28:24 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-06-19 13:31:11 -0400 |
commit | 1d949b18b2dc4f52551aaef80f6ffb2d85621da4 (patch) | |
tree | 894288178df47cc0eebebe02f8a8fb1e2ee40694 | |
parent | 5ede220a6da2cb73a6052198ec5fe9c0b749edd6 (diff) |
gitlab-ee: Update to work with current versions of gitlab
-rwxr-xr-x | git-mirror-gitlab-ee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-mirror-gitlab-ee b/git-mirror-gitlab-ee index 60bdb95..161d657 100755 --- a/git-mirror-gitlab-ee +++ b/git-mirror-gitlab-ee @@ -30,7 +30,7 @@ class GitLabEE < GitLabCE class Project < GitLabCE::Project def mirrorURL unless @cache.has_key?(:mirror) - req = Net::HTTP::Get.new(URI(self.info["web_url"]+"/mirror")) + req = Net::HTTP::Get.new(URI(self.info["web_url"]+"/settings/repository")) req.add_field("PRIVATE-TOKEN", @gl.config['apikey']) res = @gl.request(req) if res.code != "200" |