summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/runners.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/v4/objects/runners.py')
-rw-r--r--gitlab/v4/objects/runners.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gitlab/v4/objects/runners.py b/gitlab/v4/objects/runners.py
index fac9100..7b59b8a 100644
--- a/gitlab/v4/objects/runners.py
+++ b/gitlab/v4/objects/runners.py
@@ -30,7 +30,7 @@ class RunnerJob(RESTObject):
class RunnerJobManager(ListMixin, RESTManager):
- _path = "/runners/%(runner_id)s/jobs"
+ _path = "/runners/{runner_id}/jobs"
_obj_cls = RunnerJob
_from_parent_attrs = {"runner_id": "id"}
_list_filters = ("status",)
@@ -125,7 +125,7 @@ class GroupRunner(RESTObject):
class GroupRunnerManager(ListMixin, RESTManager):
- _path = "/groups/%(group_id)s/runners"
+ _path = "/groups/{group_id}/runners"
_obj_cls = GroupRunner
_from_parent_attrs = {"group_id": "id"}
_create_attrs = RequiredOptional(required=("runner_id",))
@@ -138,7 +138,7 @@ class ProjectRunner(ObjectDeleteMixin, RESTObject):
class ProjectRunnerManager(CreateMixin, DeleteMixin, ListMixin, RESTManager):
- _path = "/projects/%(project_id)s/runners"
+ _path = "/projects/{project_id}/runners"
_obj_cls = ProjectRunner
_from_parent_attrs = {"project_id": "id"}
_create_attrs = RequiredOptional(required=("runner_id",))