Skip to content

Fix resize endpoint URL and request body field#16

Merged
max-tet merged 1 commit intomainfrom
fix/resize-endpoint
Apr 8, 2026
Merged

Fix resize endpoint URL and request body field#16
max-tet merged 1 commit intomainfrom
fix/resize-endpoint

Conversation

@max-tet
Copy link
Copy Markdown
Member

@max-tet max-tet commented Apr 8, 2026

Summary

  • Fixes resizeShard() in Settings.vue to call the correct controller endpoint /core/protected/management/api/shards/self/resize (was /core/protected/management/resize)
  • Updates the request body field from size to new_vm_size to match the controller's ResizeRequest model

Depends on freeshard-controller#160 being deployed.

🤖 Generated with Claude Code

Update resizeShard() to call the correct controller endpoint
/api/shards/self/resize with the new_vm_size field name.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@max-tet max-tet merged commit 670623b into main Apr 8, 2026
2 checks passed
@max-tet max-tet deleted the fix/resize-endpoint branch April 8, 2026 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant