diff options
author | Nejc Habjan <hab.nejc@gmail.com> | 2020-05-25 06:51:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-25 06:51:19 +0200 |
commit | ef6181bb5f5148739863da6838ac400fd76e4c0e (patch) | |
tree | 2db64fe4f29b585f88dd266f836e08388a5c5bbd | |
parent | 38e9fde46a2e9e630154feb1cc533a75a55e4a2a (diff) | |
parent | f5f4e1236df67b79d90fde00b4a34a51b1e176ac (diff) | |
download | gitlab-ef6181bb5f5148739863da6838ac400fd76e4c0e.tar.gz |
Merge pull request #1102 from dotenorio/master
Update doc for remote_mirrors
-rw-r--r-- | docs/gl_objects/remote_mirrors.rst | 4 |
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:: |