Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-29 13:16:10 +01:00

Fix grammar in error message (#23273)

Fixes the grammar in the error message in case a runner token has
already been activated
This commit is contained in:
ChristianSch 2023-03-03 21:53:46 +01:00 committed by GitHub
parent 807e8e280c
commit 79acf7acc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,7 @@ func (s *Service) Register(
} }
if runnerToken.IsActive { 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 // create new runner