Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ResizeDisk doesn't return a task. #163

Open
MariusELM opened this issue Sep 19, 2024 · 1 comment
Open

ResizeDisk doesn't return a task. #163

MariusELM opened this issue Sep 19, 2024 · 1 comment

Comments

@MariusELM
Copy link

Proxmox api to resize disk returns a task id but this method doesn't handle it.

func (v *VirtualMachine) ResizeDisk(ctx context.Context, disk, size string) (err error) {
err = v.client.Put(ctx, fmt.Sprintf("/nodes/%s/qemu/%d/resize", v.Node, v.VMID), map[string]string{
"disk": disk,
"size": size,
}, nil)
if err != nil {
return
}
return
}

@jqueuniet
Copy link
Contributor

Looking at the changelog, this was added with PVE API 8.0

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

No branches or pull requests

2 participants