From 48fa4c06135b35b03dee4681ecd4e52a7d8eb0b2 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Tue, 26 May 2026 20:04:58 +0000 Subject: [PATCH] minor fixes --- access-types.go | 1 - resource-types.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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"`