1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 16:44:26 +00: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 {
return nil, errors.New("runner token has already activated")
return nil, errors.New("runner token has already been activated")
}
// create new runner