aboutsummaryrefslogtreecommitdiff
path: root/routers
diff options
context:
space:
mode:
authorChristianSch2023-03-03 21:53:46 +0100
committerGitHub2023-03-03 14:53:46 -0600
commit79acf7acc4f74d0fe071c1748ae80ff51499706f (patch)
tree2c776af866fe79b9070179c7848cf71cc5235113 /routers
parent807e8e280c02b4e9082899c7e364731b44d09143 (diff)
Fix grammar in error message (#23273)
Fixes the grammar in the error message in case a runner token has already been activated
Diffstat (limited to 'routers')
-rw-r--r--routers/api/actions/runner/runner.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/actions/runner/runner.go b/routers/api/actions/runner/runner.go
index d0bfb2363..3299eaf1e 100644
--- a/routers/api/actions/runner/runner.go
+++ b/routers/api/actions/runner/runner.go
@@ -52,7 +52,7 @@ func (s *Service) Register(
}
if runnerToken.IsActive {
- return nil, errors.New("runner token has already activated")
+ return nil, errors.New("runner token has already been activated")
}
// create new runner