refactor: move device resource and datasource to separate package #18
Annotations
10 errors
internal/resources/metal/device/datasource.go#L256
Error return value of `d.Set` is not checked (errcheck)
|
internal/resources/metal/device/datasource.go#L257
Error return value of `d.Set` is not checked (errcheck)
|
internal/resources/metal/device/datasource.go#L258
Error return value of `d.Set` is not checked (errcheck)
|
internal/resources/metal/device/helpers_test.go#L79
Error return value of `w.Write` is not checked (errcheck)
|
internal/resources/metal/device/helpers_test.go#L122
Error return value of `w.Write` is not checked (errcheck)
|
internal/resources/metal/device/helpers_test.go#L147
Error return value of `w.Write` is not checked (errcheck)
|
internal/resources/metal/device/helpers_test.go#L163
Error return value of `meta.Load` is not checked (errcheck)
|
internal/resources/metal/device/resource_test.go#L121
Error return value of `meta.Load` is not checked (errcheck)
|
equinix/resource_metal_spot_market_request.go#L70
S1008: should use 'return diffThreshold < priceDiff' instead of 'if diffThreshold < priceDiff { return true }; return false' (gosimple)
|
equinix/provider.go#L187
SA1019: schema.StopContext is deprecated: The use of a global context is discouraged. Please use the new context aware CRUD methods. (staticcheck)
|
This job failed
Loading