minor fixes
This commit is contained in:
@@ -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
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user