Skip to content

Commit 2acac19

Browse files
JohnVillalovosnejch
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 python-gitlab#3269
1 parent fb9693b commit 2acac19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)