chore(lint): use Go stdlib variables for HTTP methods and status codes #10932
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
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.
|