Skip to content

chore(lint): use Go stdlib variables for HTTP methods and status codes #10932

chore(lint): use Go stdlib variables for HTTP methods and status codes

chore(lint): use Go stdlib variables for HTTP methods and status codes #10932

Re-run triggered July 26, 2023 14:11
Status Failure
Total duration 16m 25s
Artifacts

test-core.yaml

on: pull_request
Matrix: tests-groups
Matrix: compile
Fit to window
Zoom out
Zoom in

Annotations

7 errors
checks / checks: command/agent/node_pool_endpoint.go#L16
"GET" can be replaced by http.MethodGet (usestdlibvars)
checks / checks: command/agent/node_pool_endpoint.go#L18
"PUT" can be replaced by http.MethodPut (usestdlibvars)
checks / checks: command/agent/node_pool_endpoint.go#L41
"GET" can be replaced by http.MethodGet (usestdlibvars)
checks / checks: command/agent/node_pool_endpoint.go#L43
"PUT" can be replaced by http.MethodPut (usestdlibvars)
checks / checks: command/agent/node_pool_endpoint.go#L45
"DELETE" can be replaced by http.MethodDelete (usestdlibvars)
checks / checks: command/agent/variable_endpoint.go#L16
"GET" can be replaced by http.MethodGet (usestdlibvars)
checks / checks
Process completed with exit code 2.