From f3b1c0ce4b850ef8464d34ebb5464a455118cbc6 Mon Sep 17 00:00:00 2001 From: Tim Huynh Date: Wed, 25 Oct 2023 09:19:57 -0500 Subject: [PATCH] Update cmd/vela-worker/register.go Co-authored-by: Jacob Floyd --- cmd/vela-worker/register.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/vela-worker/register.go b/cmd/vela-worker/register.go index 44dc5556..6b92db50 100644 --- a/cmd/vela-worker/register.go +++ b/cmd/vela-worker/register.go @@ -37,7 +37,7 @@ func (w *Worker) checkIn(config *library.Worker) (bool, string, error) { tkn, _, err := w.VelaClient.Worker.RefreshAuth(config.GetHostname()) if err != nil { - // set to error as check in fails + // set to error when check in fails w.updateWorkerStatus(config, constants.WorkerStatusError) return false, "", fmt.Errorf("unable to refresh auth for worker %s on the server: %w", config.GetHostname(), err) }