Skip to content

Commit 9aedc05

Browse files
committed
Fix documentation for list runners
We are specifying that we will only return the shared runners on two condition; 1 if project has any available 2 if shared runners are enabled. 2 is not correct. In the admin UI, when the user press "disable shared runners" we still show the runners to show what kind of runners are available when the user enables them. We want the API to mimic this behavior from the UI. closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52918
1 parent c67e978 commit 9aedc05

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/api/runners.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,7 @@ Example response:
340340
## List project's runners
341341

342342
List all runners (specific and shared) available in the project. Shared runners
343-
are listed if at least one shared runner is defined **and** shared runners
344-
usage is enabled in the project's settings.
343+
are listed if at least one shared runner is defined.
345344

346345
```
347346
GET /projects/:id/runners

0 commit comments

Comments
 (0)