Add unit tests for BuildRequest helper #124
Annotations
10 errors
|
Lint:
opensearchtransport/policy_mux_internal_test.go#L416
"200" can be replaced by http.StatusOK (usestdlibvars)
|
|
Lint:
opensearchtransport/policy_mux_internal_test.go#L185
"POST" can be replaced by http.MethodPost (usestdlibvars)
|
|
Lint:
opensearchtransport/policy_mux_internal_test.go#L156
"POST" can be replaced by http.MethodPost (usestdlibvars)
|
|
Lint:
opensearchtransport/policy_mux_internal_test.go#L139
"POST" can be replaced by http.MethodPost (usestdlibvars)
|
|
Lint:
opensearchtransport/policy_chain_internal_test.go#L115
"GET" can be replaced by http.MethodGet (usestdlibvars)
|
|
Lint:
opensearchtransport/policy_chain_internal_test.go#L103
"GET" can be replaced by http.MethodGet (usestdlibvars)
|
|
Lint:
opensearchtransport/policy_chain_internal_test.go#L78
"GET" can be replaced by http.MethodGet (usestdlibvars)
|
|
Lint:
opensearchtransport/policy_cluster_coordinator_internal_test.go#L130
return both a `nil` error and an invalid value: use a sentinel error instead (nilnil)
|
|
Lint:
opensearchtransport/policy_chain_internal_test.go#L226
return both a `nil` error and an invalid value: use a sentinel error instead (nilnil)
|
|
Lint:
opensearchtransport/policy_chain_internal_test.go#L211
return both a `nil` error and an invalid value: use a sentinel error instead (nilnil)
|