Skip to content

Commit 20c9a22

Browse files
authored
Merge branch 'main' into hoh-limit-ipfs-kubo-resources
2 parents d9cd8ff + a34b37d commit 20c9a22

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ dependencies = [
5151
"py-cpuinfo==9",
5252
"pydantic[dotenv]~=1.10.13",
5353
"pyroute2==0.7.12",
54-
"python-cpuid==0.1",
54+
"python-cpuid==0.1.1",
5555
"pyyaml==6.0.1",
5656
"qmp==1.1",
5757
"schedule==1.2.1",

src/aleph/vm/orchestrator/views/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -440,13 +440,13 @@ async def update_allocations(request: web.Request):
440440
except Exception as error:
441441
# Handle unknown exception separately, to avoid leaking data
442442
logger.exception("Unhandled Error while starting VM '%s': %s", instance_hash, error)
443-
scheduling_errors[vm_hash] = Exception("Unhandled Error")
443+
scheduling_errors[instance_hash] = Exception("Unhandled Error")
444444

445445
# Log unsupported features
446446
if allocation.on_demand_vms:
447447
logger.warning("Not supported yet: 'allocation.on_demand_vms'")
448448
if allocation.jobs:
449-
logger.warning("Not supported yet: 'allocation.on_demand_vms'")
449+
logger.warning("Not supported yet: 'allocation.jobs'")
450450

451451
failing = set(scheduling_errors.keys())
452452
successful = allocations - failing

0 commit comments

Comments
 (0)