mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-22 14:28:08 +08: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:
parent
807e8e280c
commit
79acf7acc4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user