feat: adds centralized wsman error struct and decode for boot and kvm #302
Annotations
3 errors
pkg/wsman/amt/boot/settingdata.go#L158
[golangci] reported by reviewdog 🐶
ineffectual assignment to err (ineffassign)
Raw Output:
pkg/wsman/amt/boot/settingdata.go:158:2: ineffectual assignment to err (ineffassign)
err = DecodeWSMANError(checkForErrorResponse.Body.Fault.Code.SubCode.Value)
^
|
pkg/wsman/amt/boot/settingdata.go#L155
[golangci] reported by reviewdog 🐶
naked return in func `Put` with 67 lines of code (nakedret)
Raw Output:
pkg/wsman/amt/boot/settingdata.go:155:3: naked return in func `Put` with 67 lines of code (nakedret)
return
^
|
|
This job failed
Loading