-
Notifications
You must be signed in to change notification settings - Fork 486
Closed
Description
When running the following code
List<Runner> allRunners2 = gitLabApi.getRunnersApi().getRunners(RunnerType.PROJECT_TYPE, RunnerStatus.SHARED);
log.debug("Shared Runners:\n{}", allRunners2);
get this
org.gitlab4j.api.GitLabApiException: status does not have a valid value
at org.gitlab4j.api.AbstractApi.validate(AbstractApi.java:593)
at org.gitlab4j.api.AbstractApi.get(AbstractApi.java:191)
at org.gitlab4j.api.Pager.<init>(Pager.java:88)
at org.gitlab4j.api.RunnersApi.getRunners(RunnersApi.java:125)
at org.gitlab4j.api.RunnersApi.getRunners(RunnersApi.java:87)
...
after checking the REST API docs it seems that
RunnerStatus.SHARED is not in the list of possible values
Metadata
Metadata
Assignees
Labels
No labels