summaryrefslogtreecommitdiff
path: root/git-mirror-gitlab-ee
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-06-19 13:28:24 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-06-19 13:31:11 -0400
commit1d949b18b2dc4f52551aaef80f6ffb2d85621da4 (patch)
tree894288178df47cc0eebebe02f8a8fb1e2ee40694 /git-mirror-gitlab-ee
parent5ede220a6da2cb73a6052198ec5fe9c0b749edd6 (diff)
gitlab-ee: Update to work with current versions of gitlab
Diffstat (limited to 'git-mirror-gitlab-ee')
-rwxr-xr-xgit-mirror-gitlab-ee2
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"