Skip to content

Commit ef6181b

Browse files
authored
Merge pull request #1102 from dotenorio/master
Update doc for remote_mirrors
2 parents 38e9fde + f5f4e12 commit ef6181b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/gl_objects/remote_mirrors.rst

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy