From bd1ea3e3e5eb5c32e7b6c2adfa2c5a60ad70bdea Mon Sep 17 00:00:00 2001
From: Arthur Lu <root@tronnet.net>
Date: Tue, 11 Feb 2025 07:11:05 +0000
Subject: [PATCH] fix refactor

---
 app/proxmox.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/proxmox.go b/app/proxmox.go
index 1170303..70f91ef 100644
--- a/app/proxmox.go
+++ b/app/proxmox.go
@@ -45,14 +45,14 @@ func (pve ProxmoxClient) Version() (proxmox.Version, error) {
 // Gets and returns a Node's CPU, memory, swap, and Hardware (PCI) resources
 func (pve ProxmoxClient) Node(nodeName string) (Host, error) {
 	host := Host{}
-	host.Hardware = make(map[string]PVEDevice)
+	host.Hardware = make(map[string]Device)
 
 	node, err := pve.client.Node(context.Background(), nodeName)
 	if err != nil {
 		return host, err
 	}
 
-	devices := []PVEDevice{}
+	devices := []Device{}
 	err = pve.client.Get(context.Background(), fmt.Sprintf("/nodes/%s/hardware/pci", nodeName), &devices)
 	if err != nil {
 		return host, err