mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-30 22:02:02 +02:00
refactor: update pool initialization to include pool key
This commit is contained in:
@@ -42,7 +42,7 @@ func (n *NodeConfig) Validate() error {
|
||||
return errs.Error()
|
||||
}
|
||||
|
||||
var Nodes = pool.New[*Node]("proxmox_nodes")
|
||||
var Nodes = pool.New[*Node]("proxmox_nodes", "proxmox_node")
|
||||
|
||||
func NewNode(client *Client, name, id string) *Node {
|
||||
return &Node{
|
||||
|
||||
Reference in New Issue
Block a user