Skip to content

Commit 95cf92e

Browse files
Changed string "GB" to "GiB" for Host Memory of a Proxmox Host/Hypervisor, as the real disk values are expressed in GiB. (#523)
1 parent a03fca1 commit 95cf92e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/source/proxmox/proxmox_sync.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ func (ps *ProxmoxSource) syncNodes(nbi *inventory.NetboxInventory) error {
154154
CustomFields: map[string]interface{}{
155155
constants.CustomFieldHostCPUCoresName: fmt.Sprintf("%d", node.CPUInfo.CPUs),
156156
constants.CustomFieldHostMemoryName: fmt.Sprintf(
157-
"%d GB",
157+
"%d GiB",
158158
node.Memory.Total/constants.GiB,
159159
),
160160
},

0 commit comments

Comments
 (0)