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

Adding oem to redfish update service. #113

Closed vinialves closed 3 years ago

vinialves commented 3 years ago

Adding oem to redfish update service.

Some changes to get oem for update service as specified in Redfish. Also, improving the existing unit test to cover the change.

Thanks!

stmcginnis commented 3 years ago

I had hoped to find a good way to provide consistent access to OEM properties, but it looks like the definition is flexible enough that we can't even just use map[string]interface{}. So I think this is reasonable to just make it interface{} and leave it to the consumer to figure out what the property actually contains.

Thanks for the test coverage!