Skip to content

Commit

Permalink
webui: fix traceback from the pools page
Browse files Browse the repository at this point in the history
Fix fedora-copr/copr#2882

Since we have on-demand resources, the `reload_config` now returns a
tuple. See how it is used in `resallocserver.manager`.
  • Loading branch information
FrostyX authored and praiskup committed Sep 18, 2023
1 parent 7af565a commit 3906152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resallocwebui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def pools():
result = {}

# Read configuration from pools.yaml
pools_config = reload_config()
_, pools_config = reload_config()

# Prepare the two-dimensional array, and fill it with zeros
for name, pool in pools_config.items():
Expand Down

0 comments on commit 3906152

Please sign in to comment.