FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

docs(remote_mirrors): fix create command · h0da/python-gitlab@bab91fe · GitHub

Repository navigation

Commit bab91fe

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

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎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)

Back | FazBrowse Home | New Git URL