Skip to content

Commit

Permalink
Fix succeeded typo in argo workflows mock
Browse files Browse the repository at this point in the history
  • Loading branch information
olaals committed Dec 3, 2024
1 parent e2eb3ca commit 8a11d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mocks/argo_workflow_mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def notify_workflow_exited(inspection_id):
try:
url = "https://localhost:8100/Workflows/notify-workflow-exited"
# workflow_status = "Succeded" if random.random() > 0.3 else "Failed"
workflow_status = "Succeded"
workflow_status = "Succeeded"
payload = {"inspectionId": inspection_id, "workflowStatus": workflow_status}
print(f"Sending PUT to {url} with data: {payload}")
response = requests.put(url, json=payload, verify=False)
Expand Down

0 comments on commit 8a11d12

Please sign in to comment.