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

Fix: Dependency on success enum for Job Execution Information #310

Merged
merged 1 commit into from
Sep 13, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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