Skip to content

Improve EventMesh Tests for Better error comparison #836

Improve EventMesh Tests for Better error comparison

Improve EventMesh Tests for Better error comparison #836

Triggered via pull request December 18, 2023 08:54
Status Failure
Total duration 1m 17s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
lint: internal/controller/operator/eventing/eventmesh.go#L53
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"failed to sync OAuth secret: %v\", err)" (goerr113)
lint: internal/controller/operator/eventing/eventmesh.go#L59
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"failed to sync Publisher Proxy secret: %v\", err)" (goerr113)
lint: internal/controller/operator/eventing/eventmesh_test.go#L772
err113: do not define dynamic errors, use wrapped static errors instead: "errors.New(\"secret not found\")" (goerr113)
lint
issues found