From 1d949b18b2dc4f52551aaef80f6ffb2d85621da4 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 19 Jun 2017 13:28:24 -0400 Subject: gitlab-ee: Update to work with current versions of gitlab --- git-mirror-gitlab-ee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git-mirror-gitlab-ee') 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" -- cgit v1.2.3-54-g00ecf