1
1
mirror of https://github.com/go-gitea/gitea synced 2025-09-28 03:28:13 +00:00

chore(runner): remove update runner status

Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi.Wu
2022-11-19 09:00:33 +08:00
committed by Jason Song
parent 88b0ab89d0
commit 5d849cea33
3 changed files with 6 additions and 15 deletions

View File

@@ -37,15 +37,6 @@ type Service struct {
runnerv1connect.UnimplementedRunnerServiceHandler
}
// UpdateRunner update runner status or other data.
func (s *Service) UpdateRunner(
_ context.Context,
_ *connect.Request[runnerv1.UpdateRunnerRequest],
) (*connect.Response[runnerv1.UpdateRunnerResponse], error) {
// FIXME: we don't need it any longer
return connect.NewResponse(&runnerv1.UpdateRunnerResponse{}), nil
}
// Register for new runner.
func (s *Service) Register(
ctx context.Context,