Skip to content

Commit

Permalink
parse the config option correctly
Browse files Browse the repository at this point in the history
Signed-off-by: adamrtalbot <[email protected]>
  • Loading branch information
adamrtalbot committed Dec 9, 2024
1 parent dd336ab commit 391dc5c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class AzBatchOpts implements CloudTransferOptions {
location = config.location
autoPoolMode = config.autoPoolMode
allowPoolCreation = config.allowPoolCreation
requireContainer = config.requireContainer ?: true
requireContainer = config.requireContainer == null ? true : config.requireContainer
terminateJobsOnCompletion = config.terminateJobsOnCompletion != Boolean.FALSE
deleteJobsOnCompletion = config.deleteJobsOnCompletion
deletePoolsOnCompletion = config.deletePoolsOnCompletion
Expand Down

0 comments on commit 391dc5c

Please sign in to comment.