Improve EventMesh Tests for Better error comparison #836
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
|