Skip to content

Use new error telemetry API #1516

Use new error telemetry API

Use new error telemetry API #1516

Triggered via pull request May 26, 2024 12:43
Status Failure
Total duration 1m 11s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: src/shared/telemetries/errorreporter/logrus_hook.go#L74
SA4004: the surrounding loop is unconditionally terminated (staticcheck)
lint: src/shared/awsagent/policies.go#L59
SA4023: this comparison is always true (staticcheck)
lint: src/shared/awsagent/policies.go#L57
SA4023(related information): the lhs of the comparison is the 1st return value of this function call (staticcheck)
lint: src/shared/awsagent/policies.go#L353
SA4023(related information): (*github.com/otterize/intents-operator/src/shared/awsagent.Agent).attachPolicy never returns a nil interface value (staticcheck)
lint: src/shared/awsagent/policies.go#L235
SA4023: this comparison is always true (staticcheck)
lint: src/shared/awsagent/policies.go#L233
SA4023(related information): the lhs of the comparison is the 1st return value of this function call (staticcheck)
lint: src/shared/awsagent/roles.go#L206
SA4023: this comparison is always true (staticcheck)
lint: src/shared/awsagent/roles.go#L205
SA4023(related information): the lhs of the comparison is the 2nd return value of this function call (staticcheck)
lint: src/shared/awsagent/roles.go#L412
SA4023(related information): (*github.com/otterize/intents-operator/src/shared/awsagent.Agent).generateTrustPolicy never returns a nil interface value (staticcheck)
lint: src/shared/awsagent/roles.go#L190
SA4023(related information): the lhs of the comparison is the 1st return value of this function call (staticcheck)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, 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/.