Skip to content

feat: opt-in creating wg-policy PolicyReport #3787

feat: opt-in creating wg-policy PolicyReport

feat: opt-in creating wg-policy PolicyReport #3787

Triggered via pull request July 17, 2024 15:45
Status Failure
Total duration 5m 8s
Billable time 4m
Artifacts 1

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
golangci-lint: internal/controller/stas/policy_report.go#L37
func `(*policyReportPatch).withSummary` is unused (unused)
golangci-lint: internal/controller/stas/containerimagescan_status.go#L99
only one cuddle assignment allowed before if statement (wsl)
golangci-lint: internal/controller/stas/containerimagescan_status.go#L102
assignments should only be cuddled with other assignments (wsl)
golangci-lint: internal/controller/stas/containerimagescan_status.go#L103
only one cuddle assignment allowed before range statement (wsl)
golangci-lint: internal/controller/stas/policy_report.go#L52
return statements should not be cuddled if block has more than two lines (wsl)
golangci-lint: internal/controller/stas/policy_report.go#L65
only one cuddle assignment allowed before if statement (wsl)
golangci-lint: internal/controller/stas/policy_report.go#L95
if statements should only be cuddled with assignments (wsl)
golangci-lint: internal/controller/stas/policy_report.go#L98
if statements should only be cuddled with assignments (wsl)
golangci-lint: internal/controller/stas/ssa_client.go#L105
if statements should only be cuddled with assignments (wsl)
golangci-lint: internal/controller/stas/ssa_client.go#L113
expressions should not be cuddled with blocks (wsl)

Artifacts

Produced during runtime
Name Size
statnett~image-scanner-operator~NCYSUC.dockerbuild Expired
49.4 KB