stmcginnis / gofish

Gofish is a Golang client library for DMTF Redfish and SNIA Swordfish interaction.
BSD 3-Clause "New" or "Revised" License
224 stars 117 forks source link

Change Memory Struct (NonVolatileSizeLimitMiB) #360

Closed DeathwingTheBoss closed 2 months ago

DeathwingTheBoss commented 2 months ago

Since Redfish DMTF Data Spec 2022.2 the Memory field NonVolatileSizeLimitMiB is supposed to be type integer but Gofish has it as string resulting in unmarshalling errors.

This fixes that.

(Had a problem locally, wanted to help upstream in case someone runs into the same issue eventually)