Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspaces
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ssa
workspaces
Commits
af65fe4c
Commit
af65fe4c
authored
2 years ago
by
Charlotte Hausman
Browse files
Options
Downloads
Patches
Plain Diff
fix typo in inspector endpoint
parent
2c200831
No related branches found
Branches containing commit
No related tags found
Tags containing commit
4 merge requests
!1059
Catchup 2.7 with main
,
!1058
Draft: Rebase 2.7 on main
,
!1004
Draft: Deleted all unused files from ingest/ingest/
,
!1003
fix typo in inspector endpoint
Pipeline
#6031
passed
2 years ago
Stage: cache-build
Stage: build
Stage: unit-test
Stage: test-coverage
Stage: push
Stage: deploy-coverage-page
Stage: generate-yaml
Stage: trigger
Stage: deploy
Stage: .post
Pipeline: workspaces
#6032
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/cli/executables/pexable/wf_inspector/wf_inspector/inspector.py
+3
-2
3 additions, 2 deletions
...xecutables/pexable/wf_inspector/wf_inspector/inspector.py
with
3 additions
and
2 deletions
apps/cli/executables/pexable/wf_inspector/wf_inspector/inspector.py
+
3
−
2
View file @
af65fe4c
...
...
@@ -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/request
s
/
{
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,8 @@ 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
:
raise
NoSuchWorkflowRequestError
(
f
"
No capability request found with ID
{
capability_request_id
}
"
)
def
get_running_class_ads
(
workflow_container_id
:
bytes
)
->
List
[
ClassAd
]:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment