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

PortLinkStatus constants appear to be the wrong type #318

Closed gnuoy closed 2 months ago

gnuoy commented 2 months ago

The port link status constants are of type LinkStatus rather that PortLinkStatus 1. This seems to be a mistake as Port.LinkStatus is of type PortLinkStatus 2

1 https://github.com/stmcginnis/gofish/blob/main/redfish/port.go#L143 2 https://github.com/stmcginnis/gofish/blob/main/redfish/port.go#L723

gnuoy commented 2 months ago

https://github.com/stmcginnis/gofish/pull/319