Skip to content

Commit

Permalink
setup for manipulation
Browse files Browse the repository at this point in the history
  • Loading branch information
kreynoldsf5 committed Apr 30, 2024
1 parent 6ba3d8a commit cb798d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions labapp/app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def lb_aws():
ns = eph_ns()
if not ns:
raise LabException("Ephemeral NS not set")
url = f"https://{ns}.{app.config['base_url']}/raw"
url = f"https://{ns}.{app.config['base_url']}"
data = cloudapp_fetch(url, 5, 'request_env', 'AWS')
return jsonify(status='success', data=data)
except (LabException, requests.RequestException, ValueError) as e:
Expand All @@ -187,7 +187,7 @@ def lb_azure():
ns = eph_ns()
if not ns:
raise LabException("Ephemeral NS not set")
url = f"https://{ns}.{app.config['base_url']}/raw"
url = f"https://{ns}.{app.config['base_url']}"
data = cloudapp_fetch(url, 5, 'request_env', 'Azure')
return jsonify(status='success', data=data)
except (LabException, requests.RequestException, ValueError) as e:
Expand Down
4 changes: 2 additions & 2 deletions labapp/app/markdown/lb.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Build an origin pool and load balancer based on the exercise requirements.
#### **Test Criteria**

```http
GET https://eph-ns.mcn-lab.f5demos.com/raw HTTP/1.1
GET https://eph-ns.mcn-lab.f5demos.com/ HTTP/1.1
Host: eph-ns.mcn-lab.f5demos.com
{
Expand Down Expand Up @@ -125,7 +125,7 @@ Create a new origin pool for the Azure cloud app. Reuse your load balancer.
#### **Test Criteria**

```http
GET https://eph-ns.mcn-lab.f5demos.com/raw HTTP/1.1
GET https://eph-ns.mcn-lab.f5demos.com/ HTTP/1.1
Host: eph-ns.mcn-lab.f5demos.com
{
Expand Down

0 comments on commit cb798d9

Please sign in to comment.