refactor: update pool initialization to include pool key

This commit is contained in:
yusing
2026-02-13 22:10:46 +08:00
parent 91f2c4993c
commit fa9239f5eb
5 changed files with 6 additions and 6 deletions

View File

@@ -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{