Skip to content

Commit 391dc5c

Browse files
committed
parse the config option correctly
Signed-off-by: adamrtalbot <12817534+adamrtalbot@users.noreply.github.com>
1 parent dd336ab commit 391dc5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/nf-azure/src/main/nextflow/cloud/azure/config/AzBatchOpts.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class AzBatchOpts implements CloudTransferOptions {
6868
location = config.location
6969
autoPoolMode = config.autoPoolMode
7070
allowPoolCreation = config.allowPoolCreation
71-
requireContainer = config.requireContainer ?: true
71+
requireContainer = config.requireContainer == null ? true : config.requireContainer
7272
terminateJobsOnCompletion = config.terminateJobsOnCompletion != Boolean.FALSE
7373
deleteJobsOnCompletion = config.deleteJobsOnCompletion
7474
deletePoolsOnCompletion = config.deletePoolsOnCompletion

0 commit comments

Comments
 (0)