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

Fix POST /nodes/{node}/lxc/{id}/template (#260) #261

Merged
merged 1 commit into from
May 14, 2023

Conversation

chrisbenincasa
Copy link
Contributor

Fixes #260 by ignoring empty exit statuses in CreateTemplate if the vmType == "lxc".

This should be safe to ignore given that the API specifically returns null in the success case: https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/lxc/{vmid}/template

See issue for example request/response.

@mleone87 mleone87 merged commit 23ba4a4 into Telmate:master May 14, 2023
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.

Cannot convert LXC to template: POST /nodes/{node}/lxc/{id}/template
2 participants