Skip to content

Commit

Permalink
517: fix for job name error cause by mixed case job names
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Slater committed Jun 22, 2018
1 parent 20c4a0a commit db20ffa
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 db20ffa

Please sign in to comment.