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

docs(pull_mirror): fix incorrect start() method usage example · python-gitlab/python-gitlab@2acac19 · GitHub

Commit 2acac19

Browse files
authored andcommitted
docs(pull_mirror): fix incorrect start() method usage example
The documentation incorrectly showed calling start() on the ProjectPullMirror object (mirror.start()), but the method only exists on the ProjectPullMirrorManager. Updated the example to show the correct usage: project.pull_mirror.start(). Fixes #3269
1 parent fb9693b commit 2acac19

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/gl_objects/pull_mirror.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ Update an existing remote mirror's attributes::
3333
mirror.only_protected_branches = True
3434
mirror.save()
3535

36-
Start an sync of the pull mirror::
36+
Start a sync of the pull mirror::
3737

38-
mirror.start()
38+
project.pull_mirror.start()

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL