Skip to content

Commit 26f89ed

Browse files
msobkowskitgorochowik
authored andcommitted
don't pass local configs to runs template
1 parent 4893549 commit 26f89ed

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

protoplaster/webui/views.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,13 @@ def configs():
5151

5252
@webui_blueprint.route("/runs")
5353
def test_runs():
54-
r = requests.get(f"http://localhost:5000/api/v1/configs", timeout=2)
55-
configs = r.json()
5654
device_name = request.args.get("device")
5755
devices = get_all_devices()
5856
selected_device = get_device_by_name(device_name) or devices[0]
5957
r = requests.get(f"{selected_device['url']}/api/v1/test-runs", timeout=2)
6058
runs = r.json()
6159
return render_template("runs.html",
6260
runs=runs,
63-
configs=configs,
6461
devices=devices,
6562
selected_device=selected_device,
6663
active="runs")

0 commit comments

Comments
 (0)