minor fixes

This commit is contained in:
2026-05-26 20:04:58 +00:00
parent 0936e8e5a5
commit 48fa4c0613
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -2,7 +2,6 @@ package proxmoxaas_common_lib
type Pool struct {
PoolID string `json:"poolid"`
Path string `json:"-"` // typically /pool/poolid from proxmox, only used internally
Groups []Group `json:"groups"`
Resources map[string]any `json:"resources"`
Templates Templates `json:"templates"`
+1 -1
View File
@@ -23,7 +23,7 @@ const CT InstanceType = "CT"
type Instance struct {
Type InstanceType `json:"type"`
Name string `json:"name"`
Proctype string `json:"cpu"`
Proctype string `json:"cpu" mapstructure:"cpu"`
Cores uint64 `json:"cores"`
Memory uint64 `json:"memory"`
Swap uint64 `json:"swap"`