From 2a56c4ec3beac5ec9564ac2d69bdccc21c026f3f Mon Sep 17 00:00:00 2001 From: Thomas Beutlich <115483027+thbeu@users.noreply.github.com> Date: Thu, 22 Jan 2026 03:52:39 +0100 Subject: [PATCH] Fix spelling (#36399) Signed-off-by: Thomas Beutlich <115483027+thbeu@users.noreply.github.com> --- routers/api/v1/admin/runners.go | 12 ++++++------ templates/swagger/v1_json.tmpl | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/routers/api/v1/admin/runners.go b/routers/api/v1/admin/runners.go index 736c421229..1e15b24076 100644 --- a/routers/api/v1/admin/runners.go +++ b/routers/api/v1/admin/runners.go @@ -14,7 +14,7 @@ import ( func GetRegistrationToken(ctx *context.APIContext) { // swagger:operation GET /admin/runners/registration-token admin adminGetRunnerRegistrationToken // --- - // summary: Get an global actions runner registration token + // summary: Get a global actions runner registration token // produces: // - application/json // parameters: @@ -29,7 +29,7 @@ func GetRegistrationToken(ctx *context.APIContext) { func CreateRegistrationToken(ctx *context.APIContext) { // swagger:operation POST /admin/actions/runners/registration-token admin adminCreateRunnerRegistrationToken // --- - // summary: Get an global actions runner registration token + // summary: Get a global actions runner registration token // produces: // - application/json // parameters: @@ -57,11 +57,11 @@ func ListRunners(ctx *context.APIContext) { shared.ListRunners(ctx, 0, 0) } -// GetRunner get an global runner +// GetRunner get a global runner func GetRunner(ctx *context.APIContext) { // swagger:operation GET /admin/actions/runners/{runner_id} admin getAdminRunner // --- - // summary: Get an global runner + // summary: Get a global runner // produces: // - application/json // parameters: @@ -80,11 +80,11 @@ func GetRunner(ctx *context.APIContext) { shared.GetRunner(ctx, 0, 0, ctx.PathParamInt64("runner_id")) } -// DeleteRunner delete an global runner +// DeleteRunner delete a global runner func DeleteRunner(ctx *context.APIContext) { // swagger:operation DELETE /admin/actions/runners/{runner_id} admin deleteAdminRunner // --- - // summary: Delete an global runner + // summary: Delete a global runner // produces: // - application/json // parameters: diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 9490154f4b..6ed21e0451 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -149,7 +149,7 @@ "tags": [ "admin" ], - "summary": "Get an global actions runner registration token", + "summary": "Get a global actions runner registration token", "operationId": "adminCreateRunnerRegistrationToken", "responses": { "200": { @@ -166,7 +166,7 @@ "tags": [ "admin" ], - "summary": "Get an global runner", + "summary": "Get a global runner", "operationId": "getAdminRunner", "parameters": [ { @@ -196,7 +196,7 @@ "tags": [ "admin" ], - "summary": "Delete an global runner", + "summary": "Delete a global runner", "operationId": "deleteAdminRunner", "parameters": [ { @@ -624,7 +624,7 @@ "tags": [ "admin" ], - "summary": "Get an global actions runner registration token", + "summary": "Get a global actions runner registration token", "operationId": "adminGetRunnerRegistrationToken", "responses": { "200": {