Skip to content

Commit

Permalink
Merge pull request #522 from slater-brian-john/job-name-fix
Browse files Browse the repository at this point in the history
517: fix for job name error cause by mixed case job names
  • Loading branch information
adamreese authored Jun 26, 2018
2 parents 094f535 + db20ffa commit 40ce6f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brigade-worker/src/job.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 || [];
Expand Down

0 comments on commit 40ce6f8

Please sign in to comment.