reimplement synchronization for sync methods

This commit is contained in:
alu committed 2025-11-09 23:59:19 +00:00
1 parent 79eecdf211
commit d5fea5e7b8
3 files changed
+170 -148

No files matched your search

+1 -2
View File
@@ -9,7 +9,7 @@ import (
type Cluster struct {
lock sync.Mutex
pve ProxmoxClient
Nodes map[string]*Node
Nodes map[string]*Node `json:"nodes"`
}
type Node struct {
@@ -88,7 +88,6 @@ type Device struct {
Vendor_Name string `json:"vendor_name"`
Functions map[FunctionID]*Function `json:"functions"`
Reserved bool `json:"reserved"`
Value string
}
type FunctionID string