Skip to content

Commit

Permalink
docs(remote_mirrors): fix create command
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Migliorini Tenório committed May 19, 2020
1 parent 74b3ddc commit bab91fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/gl_objects/remote_mirrors.rst
Expand Up @@ -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::

Expand Down

0 comments on commit bab91fe

Please sign in to comment.