fix: ignore stuck because of wrong token
This commit is contained in:
parent
9830f34d36
commit
88ae188699
1 changed files with 3 additions and 1 deletions
|
@ -131,7 +131,9 @@ func runDaemon(ctx context.Context, envFile string) func(cmd *cobra.Command, arg
|
||||||
Status: runnerv1.RunnerStatus_RUNNER_STATUS_IDLE,
|
Status: runnerv1.RunnerStatus_RUNNER_STATUS_IDLE,
|
||||||
}),
|
}),
|
||||||
); err != nil {
|
); err != nil {
|
||||||
return err
|
// go on, if return err, the program will be stuck
|
||||||
|
log.WithError(err).
|
||||||
|
Errorln("failed to update runner")
|
||||||
}
|
}
|
||||||
|
|
||||||
return poller.Poll(ctx, cfg.Runner.Capacity)
|
return poller.Poll(ctx, cfg.Runner.Capacity)
|
||||||
|
|
Loading…
Reference in a new issue