Skip to content

Use nginx-go-crossplane on template rendering #1775

Use nginx-go-crossplane on template rendering

Use nginx-go-crossplane on template rendering #1775

Triggered via pull request October 17, 2024 01:12
Status Failure
Total duration 58s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: test/e2e/settings/custom_header.go#L47
string `add-headers-configmap` has 3 occurrences, make it a constant (goconst)
lint: internal/ingress/controller/template/crossplane/location.go#L425
string `off` has 3 occurrences, make it a constant (goconst)
lint: internal/ingress/controller/template/crossplane/utils.go#L20
G505: Blocklisted import crypto/sha1: weak cryptographic primitive (gosec)
lint: internal/ingress/controller/template/crossplane/location.go#L672
func `buildAuthLocationConfig` is unused (unused)
lint: internal/ingress/controller/nginx.go#L893
func `updateStreamConfiguration` is unused (unused)
lint: internal/ingress/controller/template/crossplane/cors.go#L31
unnecessary trailing newline (whitespace)
lint: internal/ingress/controller/template/crossplane/location.go#L111
unnecessary trailing newline (whitespace)
lint: internal/ingress/controller/template/crossplane/location.go#L204
unnecessary trailing newline (whitespace)
lint: internal/ingress/controller/template/crossplane/server.go#L58
unnecessary leading newline (whitespace)
lint
issues found