Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
Fixed get workers count function (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
brnleehng authored Apr 30, 2018
1 parent 958d84f commit 9dfa599
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion R/doAzureParallel.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ registerDoAzureParallel <- function(cluster) {

workers <- function(data) {
id <- data$poolId
pool <- rAzureBatch::getPool(id)

config <- getConfiguration()
batchClient <- config$batchClient

pool <- batchClient$poolOperations$getPool(id)

verboseFlag <- getOption("azureVerbose")
if (!is.null(verboseFlag) && verboseFlag) {
Expand Down

0 comments on commit 9dfa599

Please sign in to comment.