Skip to content

Commit bab91fe

Browse files
author
Fernando Migliorini Tenório
committed
docs(remote_mirrors): fix create command
1 parent 74b3ddc commit bab91fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/gl_objects/remote_mirrors.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ Get the list of a project's remote mirrors::
2424

2525
Create (and enable) a remote mirror for a project::
2626

27-
mirror = project.wikis.create({'url': 'https://gitlab.com/example.git',
28-
'enabled': True})
27+
mirror = project.remote_mirrors.create({'url': 'https://gitlab.com/example.git',
28+
'enabled': True})
2929

3030
Update an existing remote mirror's attributes::
3131

0 commit comments

Comments
 (0)