Skip to content

Commit

Permalink
fix: update Deadline version to 10.2 in the SEP example, correctly co…
Browse files Browse the repository at this point in the history
…mpare deadlineClientLinuxAmiMap via string
  • Loading branch information
joel-wong-aws committed Mar 27, 2023
1 parent 478b42c commit fd28427
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { config } from './config';
// --- Validate Config Values --- //
// ------------------------------ //

if (config.deadlineClientLinuxAmiMap === {['region']: 'ami-id'}) {
if (JSON.stringify(config.deadlineClientLinuxAmiMap) === JSON.stringify({['region']: 'ami-id'})) {
throw new Error('Deadline Client Linux AMI map is required but was not specified.');
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"app": "bin/app.js"
},
"config": {
"deadline_ver": "10.1",
"deadline_ver": "10.2",
"stage_path": "stage"
},
"scripts": {
Expand Down

0 comments on commit fd28427

Please sign in to comment.