mirror of https://code.forgejo.org/forgejo/runner
Fix bug
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