mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-22 20:42:47 +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 {
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user