Skip to content

[Backport release-1.x] fix: creating firewall with rules not working correctly #378

[Backport release-1.x] fix: creating firewall with rules not working correctly

[Backport release-1.x] fix: creating firewall with rules not working correctly #378

Triggered via pull request April 19, 2024 12:59
Status Failure
Total duration 19s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
lint: hcloud/client.go#L289
response.StatusCode undefined (type *Response has no field or method StatusCode) (typecheck)
lint: hcloud/client.go#L363
resp.Header undefined (type *Response has no field or method Header) (typecheck)
lint: hcloud/client.go#L387
r.Header undefined (type *Response has no field or method Header) (typecheck)
lint: hcloud/client.go#L390
r.Header undefined (type *Response has no field or method Header) (typecheck)
lint: hcloud/client.go#L393
r.Header undefined (type *Response has no field or method Header) (typecheck)
lint: hcloud/client_test.go#L88
apiError.Response().StatusCode undefined (type *Response has no field or method StatusCode) (typecheck)
lint: hcloud/client_test.go#L89
apiError.Response().StatusCode undefined (type *Response has no field or method StatusCode) (typecheck)
lint
issues found
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.