mirror of
https://github.com/go-gitea/gitea.git
synced 2025-06-18 21:38:53 +03: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:
@ -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
|
||||||
|
Reference in New Issue
Block a user