Skip to content

Commit

Permalink
test: ignore linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Apr 30, 2024
1 parent f0b6adb commit 272bf66
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,9 @@ issues:
linters:
- gosec
- errcheck

- path: _test\.go
linters:
- revive
text: unused-parameter

1 change: 1 addition & 0 deletions hcloud/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,7 @@ func loadBalancerCreateOptsToSchema(opts LoadBalancerCreateOpts) schema.LoadBala
TLS: service.HealthCheck.HTTP.TLS,
}
if service.HealthCheck.HTTP.StatusCodes != nil {
//nolint:gosec
schemaHealthCheckHTTP.StatusCodes = &service.HealthCheck.HTTP.StatusCodes
}
schemaHealthCheck.HTTP = schemaHealthCheckHTTP
Expand Down

0 comments on commit 272bf66

Please sign in to comment.