From 7fc75849840253fd414081bbf94c497618bba5ce Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Fri, 24 Apr 2026 22:21:04 +0000 Subject: [PATCH] improve Pool type member naming --- access-types.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/access-types.go b/access-types.go index efb2a4c..39e74d1 100644 --- a/access-types.go +++ b/access-types.go @@ -1,14 +1,14 @@ 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"` - AllowedNodes map[string]bool `json:"nodes-allowed"` - VMIDRange VMID `json:"vmid-allowed"` - Backups Backups `json:"backups-allowed"` + 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"` + AllowedNodes map[string]bool `json:"nodes-allowed"` + AllowedVMIDRange VMID `json:"vmid-allowed"` + AllowedBackups Backups `json:"backups-allowed"` } // proxmox typically formats as gid-realm for non pve realms