feat(gateway): onboard new resource/data-source #763
Annotations
10 errors
βοΈ Run Go linters:
internal/services/gateway/base.go#L25
PossibleInactivityMinutesBeforeSleepValues is a global variable (gochecknoglobals)
|
βοΈ Run Go linters:
internal/services/gateway/base.go#L27
MinNumberOfMemberGatewaysValues is a global variable (gochecknoglobals)
|
βοΈ Run Go linters:
internal/services/gateway/base.go#L29
MaxNumberOfMemberGatewaysValues is a global variable (gochecknoglobals)
|
βοΈ Run Go linters:
internal/testhelp/utils.go#L55
G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) (gosec)
|
βοΈ Run Go linters:
internal/testhelp/utils.go#L59
G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) (gosec)
|
βοΈ Run Go linters:
internal/testhelp/utils.go#L63
G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) (gosec)
|
βοΈ Run Go linters:
internal/testhelp/fakes/fabric_gateway.go#L87
named return "statusCode" with type "int" found (nonamedreturns)
|
βοΈ Run Go linters:
internal/services/gateway/data_on_premises_gateway.go#L194
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
βοΈ Run Go linters:
internal/services/gateway/data_on_premises_gateway_personal.go#L70
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
βοΈ Run Go linters:
internal/services/gateway/models_base_data_gateway.go#L41
var-naming: struct field CapacityId should be CapacityID (revive)
|
Loading