Wenn per mcp oder eosctl upscale aufgerufen wird, wird der Erfolg mit 202 quittiert.
Code
Error: unexpected status: 202 on POST
https://compute.eoscloud.io/v1/<realm>/vms/<vm-id>/:upscale returned:
{"id":"019fd889-...","product_id":"019fae2a-...","status":"updating", ... }
Code
$ eosctl compute vm upscale <vm-id> --product-id <medium-id>; echo "RC=$?"
┌──────────────────┐
| property | value |
| ---------------- |
└──────────────────┘
RC=1
Laut API-Spec ist das, analog zu power-on, power-off, reboot, restore und grow die 202 schon richtig interpretieren, auch korrekt.
Bitte 202 als validen Statuscode in eosctl und im MCP für upscale aufnehmen.