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

chore: apply minor review suggestions · python-gitlab/python-gitlab@366894b · GitHub

Repository navigation

Commit 366894b

Browse files
authored
chore: apply minor review suggestions
1 parent ad7a58a commit 366894b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎docs/gl_objects/runners.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ Register a new runner::
7474
.. note::
7575

7676
A new runner registration workflow has been introduced since GitLab 16.0. This new
77-
workflow comes with a new API endpoint to create runner, which does not use
77+
workflow comes with a new API endpoint to create runners, which does not use
7878
registration tokens.
7979

80-
The new endpoint can be called using ``user.runners.create()``.
80+
The new endpoint can be called using ``gl.user.runners.create() after authenticating with `gl.auth()```.
8181

8282
Update a runner::
8383

‎tests/unit/objects/test_users.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def resp_runner_create():
249249
url="http://localhost/api/v4/user/runners",
250250
json={"id": "6", "token": "6337ff461c94fd3fa32ba3b1ff4125"},
251251
content_type="application/json",
252-
status=200,
252+
status=201,
253253
)
254254
yield rsps
255255

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL