Skip to content
Snippets Groups Projects
Commit 5494c96b authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

fixing typo

parent 2889b1db
No related branches found
No related tags found
3 merge requests!1006catch qa fail case when request has mutable version,!1005fix pass/fail with mutable version bug,!1003fix typo in inspector endpoint
This commit is part of merge request !1005. Comments created here will be created in the context of that merge request.
......@@ -168,7 +168,7 @@ def get_capability_request_htcondor_id(capability_request_id: str, version_id: s
workflow_url = CapoConfig().settings("edu.nrao.workspaces.WorkflowSettings").serviceUrl
response = requests.get(
f"{capability_url}/capability/requests/{capability_request_id}/version/{version_id}/execution"
f"{capability_url}/capability/request/{capability_request_id}/version/{version_id}/execution"
)
if response.status_code == http.HTTPStatus.OK:
......@@ -183,7 +183,9 @@ def get_capability_request_htcondor_id(capability_request_id: str, version_id: s
return int(htcondor_id)
raise NoIdForWorkflowError
raise NoSuchWorkflowRequestError(f"No capability request found with ID {capability_request_id}")
else:
print(response)
raise NoSuchWorkflowRequestError(f"No capability request found with ID {capability_request_id}")
def get_running_class_ads(workflow_container_id: bytes) -> List[ClassAd]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment