Skip to content

Commit

Permalink
maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
kreynoldsf5 committed May 2, 2024
1 parent f43d005 commit 08d6c03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions labapp/app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,8 @@ def manip3():
if not ns:
raise LabException("Ephemeral NS not set")
base_url = app.config['base_url']
aws_url = f"https://{ns}.{base_url}/aws"
azure_url = f"https://{ns}.{base_url}/azure"
aws_url = f"https://{ns}.{base_url}/aws/"
azure_url = f"https://{ns}.{base_url}/azure/"
aws_headers = { "x-mcn-dest-site": "student-awsnet" }
azure_headers = { "x-mcn-dest-site": "student-azurenet" }
aws_data = cloudapp_res_headers(s, aws_url, 7, aws_headers)
Expand Down
2 changes: 1 addition & 1 deletion labapp/app/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def cloudapp_res_headers(session, url, timeout, headers):
for header in headers:
head_value = data.get(header)
if not head_value:
raise ValueError(f"Header {header} not found request headers.")
raise ValueError(f"Header {header} not found response headers from {url}.")
return data

0 comments on commit 08d6c03

Please sign in to comment.