From a771ff7f30d2a4991d886af31d0ae7b6653a020a Mon Sep 17 00:00:00 2001 From: Gaurav Gahlot Date: Mon, 20 Jul 2020 12:42:34 +0530 Subject: [PATCH] corrected env variable in error message Signed-off-by: Gaurav Gahlot --- cmd/tink-worker/worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tink-worker/worker.go b/cmd/tink-worker/worker.go index a37b218d1..d249ca32e 100644 --- a/cmd/tink-worker/worker.go +++ b/cmd/tink-worker/worker.go @@ -42,7 +42,7 @@ type WorkflowMetadata struct { func processWorkflowActions(client pb.WorkflowSvcClient) error { workerID := os.Getenv("WORKER_ID") if workerID == "" { - return fmt.Errorf("required WORKER_NAME") + return fmt.Errorf("required WORKER_ID") } log = logger.WithField("worker_id", workerID) ctx := context.Background()