Skip to content

Commit

Permalink
Fix: Correct string formatting in VM startup response
Browse files Browse the repository at this point in the history
  • Loading branch information
1yam authored and hoh committed Jun 12, 2024
1 parent a4e26a8 commit 30d3284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aleph/vm/orchestrator/views/operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ async def operate_reboot(request: web.Request, authenticated_sender: str) -> web
await create_vm_execution(vm_hash=vm_hash, pool=pool)
return web.Response(status=200, body=f"Rebooted VM with ref {vm_hash}")
else:
return web.Response(status=200, body="Starting VM (was not running) with ref {vm_hash}")
return web.Response(status=200, body=f"Starting VM (was not running) with ref {vm_hash}")


@cors_allow_all
Expand Down

0 comments on commit 30d3284

Please sign in to comment.