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

Commit

Permalink
Fix dependency on enum being uppercase (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
brnleehng authored Sep 13, 2018
1 parent 4020a93 commit 81dcb72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/utility-job.R
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ waitForTasksToComplete <-
next
}

if (mergeTask$executionInfo$result == "Success") {
if (tolower(mergeTask$executionInfo$result) == "success") {
cat(" Completed.")
break
}
Expand Down Expand Up @@ -601,7 +601,7 @@ waitForJobPreparation <- function(jobId, poolId) {
)

statuses <- sapply(statuses$value, function(x) {
x$jobPreparationTaskExecutionInfo$result == "Success"
tolower(x$jobPreparationTaskExecutionInfo$result) == "success"
})

if (TRUE %in% statuses) {
Expand Down

0 comments on commit 81dcb72

Please sign in to comment.