stmcginnis / gofish

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

Fix Output.PowerControl PowerState argument type #342

Closed stmcginnis closed 2 months ago

stmcginnis commented 2 months ago

The PowerState property is the common PowerState enum, but the action call for PowerControl needs to use the more limited ActionPowerState that only includes the valid power control request state.

Closes: #339