mirror of
https://gitea.com/gitea/act_runner.git
synced 2024-12-28 11:58:20 +01:00
Fix bug
This commit is contained in:
parent
e08495af09
commit
9c7d2be7c6
@ -123,7 +123,7 @@ func runDaemon(ctx context.Context, task *runtime.Task) func(cmd *cobra.Command,
|
|||||||
if _, err := cli.UpdateRunner(
|
if _, err := cli.UpdateRunner(
|
||||||
context.Background(),
|
context.Background(),
|
||||||
connect.NewRequest(&runnerv1.UpdateRunnerRequest{
|
connect.NewRequest(&runnerv1.UpdateRunnerRequest{
|
||||||
Status: runnerv1.RunnerStatus_RUNNER_STATUS_OFFLINE,
|
Status: runnerv1.RunnerStatus_RUNNER_STATUS_IDLE,
|
||||||
}),
|
}),
|
||||||
); err != nil {
|
); err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user