From 31c5096d50f4cef2194b5f1ffd50e1b3b7b78f9b Mon Sep 17 00:00:00 2001 From: DeathwingTheBoss Date: Mon, 2 Sep 2024 15:45:15 +0300 Subject: [PATCH] Change NonVolatileSizeLimitMiB from string to int --- redfish/memory.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redfish/memory.go b/redfish/memory.go index c90cb8a0..f80e32d4 100644 --- a/redfish/memory.go +++ b/redfish/memory.go @@ -333,7 +333,7 @@ type Memory struct { // product ID of this memory module as defined by the manufacturer. ModuleProductID string // NonVolatileSizeLimitMiB shall contain the total non-volatile memory capacity in mebibytes (MiB). - NonVolatileSizeLimitMiB string + NonVolatileSizeLimitMiB int // NonVolatileSizeMiB shall contain the total size of the non-volatile portion memory in MiB. NonVolatileSizeMiB int // OperatingMemoryModes shall be the memory