Skip to content

Commit

Permalink
Merge pull request tinkerbell#223 from gauravgahlot/env-fix
Browse files Browse the repository at this point in the history
Corrected env variable in error message
  • Loading branch information
parauliya authored Jul 20, 2020
2 parents 11a289b + a771ff7 commit 7bcc7d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/tink-worker/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 7bcc7d6

Please sign in to comment.