fix hard coded URL, add proxmox URL to config
This commit is contained in:
12
app/types.go
12
app/types.go
@@ -15,9 +15,9 @@ type Cluster struct {
|
||||
type Host struct {
|
||||
lock sync.Mutex
|
||||
Name string
|
||||
Cores Resource
|
||||
Memory Resource
|
||||
Swap Resource
|
||||
Cores uint64
|
||||
Memory uint64
|
||||
Swap uint64
|
||||
Devices map[string]*Device
|
||||
Instances map[uint]*Instance
|
||||
pvenode *proxmox.Node
|
||||
@@ -47,12 +47,6 @@ type Instance struct {
|
||||
configHostPCIs map[string]string
|
||||
}
|
||||
|
||||
type Resource struct {
|
||||
Reserved uint64
|
||||
Free uint64
|
||||
Total uint64
|
||||
}
|
||||
|
||||
type Volume struct {
|
||||
Path string
|
||||
Format string
|
||||
|
Reference in New Issue
Block a user