diff --git a/access-types.go b/access-types.go index 3f61de5..a6b9364 100644 --- a/access-types.go +++ b/access-types.go @@ -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"` diff --git a/resource-types.go b/resource-types.go index 3c97f52..a6cd7a1 100644 --- a/resource-types.go +++ b/resource-types.go @@ -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"`