From bab91fe86fc8d23464027b1c3ab30619e520235e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Migliorini=20Ten=C3=B3rio?= Date: Tue, 19 May 2020 11:49:48 -0300 Subject: [PATCH 1/2] docs(remote_mirrors): fix create command --- docs/gl_objects/remote_mirrors.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/gl_objects/remote_mirrors.rst b/docs/gl_objects/remote_mirrors.rst index ea4f72c41..72a39e0e0 100644 --- a/docs/gl_objects/remote_mirrors.rst +++ b/docs/gl_objects/remote_mirrors.rst @@ -24,8 +24,8 @@ Get the list of a project's remote mirrors:: Create (and enable) a remote mirror for a project:: - mirror = project.wikis.create({'url': 'https://gitlab.com/example.git', - 'enabled': True}) + mirror = project.remote_mirrors.create({'url': 'https://gitlab.com/example.git', + 'enabled': True}) Update an existing remote mirror's attributes:: From 1bb4e42858696c9ac8cbfc0f89fa703921b969f3 Mon Sep 17 00:00:00 2001 From: Fernando M Tenorio Date: Tue, 19 May 2020 11:49:48 -0300 Subject: [PATCH 2/2] docs(remote_mirrors): fix create command --- docs/gl_objects/remote_mirrors.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/gl_objects/remote_mirrors.rst b/docs/gl_objects/remote_mirrors.rst index ea4f72c41..72a39e0e0 100644 --- a/docs/gl_objects/remote_mirrors.rst +++ b/docs/gl_objects/remote_mirrors.rst @@ -24,8 +24,8 @@ Get the list of a project's remote mirrors:: Create (and enable) a remote mirror for a project:: - mirror = project.wikis.create({'url': 'https://gitlab.com/example.git', - 'enabled': True}) + mirror = project.remote_mirrors.create({'url': 'https://gitlab.com/example.git', + 'enabled': True}) Update an existing remote mirror's attributes::