Skip to content

Commit

Permalink
Merge pull request #3205 from RohanSasne/patch-1
Browse files Browse the repository at this point in the history
fix: rabbitmq_post_message in Submit.Worflow Post API
  • Loading branch information
robkooper authored Aug 3, 2023
2 parents a837117 + 9ad590c commit 72131b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/R/submit.workflow.R
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ submit.workflow.list <- function(workflowList, userDetails) {

# Post workflow to RabbitMQ
message <- list(folder = outdir, workflowid = workflow_id_str)
res <- PEcAn.remote::rabbitmq_post_message(workflowList$host$rabbitmq$uri, "pecan", message, "rabbitmq")
res <- PEcAn.remote::rabbitmq_post_message(workflowList$host$rabbitmq$uri, "pecan", message)

if(res$routed){
return(list(workflow_id = workflow_id_str, status = "Submitted successfully"))
Expand Down

0 comments on commit 72131b5

Please sign in to comment.