summaryrefslogtreecommitdiff
path: root/doc/api/runners.md
diff options
context:
space:
mode:
authorSteve Azzopardi <steveazz@outlook.com>2018-10-19 12:09:08 +0200
committerSteve Azzopardi <steveazz@outlook.com>2018-10-19 12:20:06 +0200
commit9aedc05e0261aa2a02b5214b97431ae43f9f5734 (patch)
tree9762f66cebee487d3a80570dd1e3776ef39a66ca /doc/api/runners.md
parentc67e978fc13fe6bf6d1b4b54128e98ca6c04f9f0 (diff)
downloadgitlab-ce-9aedc05e0261aa2a02b5214b97431ae43f9f5734.tar.gz
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
Diffstat (limited to 'doc/api/runners.md')
-rw-r--r--doc/api/runners.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/api/runners.md b/doc/api/runners.md
index 0bcbd0aebf0..071c13f41cb 100644
--- a/doc/api/runners.md
+++ b/doc/api/runners.md
@@ -340,8 +340,7 @@ Example response:
## List project's runners
List all runners (specific and shared) available in the project. Shared runners
-are listed if at least one shared runner is defined **and** shared runners
-usage is enabled in the project's settings.
+are listed if at least one shared runner is defined.
```
GET /projects/:id/runners