redfish/drive: expose oem data and actions #482
Annotations
4 errors
Run golangci-lint:
oem/smc/drive.go#L64
emptyStringTest: replace `len(t.Actions.Oem.SmcDriveIndicate.Target) > 0` with `t.Actions.Oem.SmcDriveIndicate.Target != ""` (gocritic)
|
Run golangci-lint:
oem/smc/drive.go#L72
hugeParam: d is heavy (2184 bytes); consider passing it by pointer (gocritic)
|
Run golangci-lint:
oem/smc/drive_test.go#L61
`temerature` is a misspelling of `temperature` (misspell)
|
Run golangci-lint
issues found
|
Loading