summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando M Tenorio <dotenorio@gmail.com>2020-05-19 11:49:48 -0300
committerFernando M Tenorio <dotenorio@gmail.com>2020-05-21 09:57:10 -0300
commit1bb4e42858696c9ac8cbfc0f89fa703921b969f3 (patch)
treeb64265bbe5a760349a7981c43f15eec1eabf33d1
parent74b3ddcd5d44c4fe6c7c0189f87852d861e807f0 (diff)
downloadgitlab-1bb4e42858696c9ac8cbfc0f89fa703921b969f3.tar.gz
docs(remote_mirrors): fix create command
-rw-r--r--docs/gl_objects/remote_mirrors.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/gl_objects/remote_mirrors.rst b/docs/gl_objects/remote_mirrors.rst
index ea4f72c..72a39e0 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::