From db20ffa4920818bc029fddf286794839ccaa1fe0 Mon Sep 17 00:00:00 2001 From: Brian Slater Date: Thu, 21 Jun 2018 22:31:48 -0500 Subject: [PATCH] 517: fix for job name error cause by mixed case job names --- brigade-worker/src/job.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brigade-worker/src/job.ts b/brigade-worker/src/job.ts index 0e2f2015e..60bd81515 100644 --- a/brigade-worker/src/job.ts +++ b/brigade-worker/src/job.ts @@ -248,7 +248,7 @@ export abstract class Job { "job name must be letters, numbers, and '-', and must not start or end with '-'" ); } - this.name = name; + this.name = name.toLocaleLowerCase(); this.image = image; this.imageForcePull = imageForcePull; this.tasks = tasks || [];