Self Service Configuration from Factory #607
Triggered via pull request
August 7, 2023 18:00
Status
Failure
Total duration
1h 26m 51s
Artifacts
–
ci.yaml
on: pull_request
Lint Go code
2m 23s
test
2m 33s
Annotations
6 errors
Lint Go code:
pkg/controller/controller_test.go#L93
cannot use &(mocks.FakeFactory literal) (value of type *mocks.FakeFactory) as "github.com/argoproj/notifications-engine/pkg/api".Factory value in argument to NewControllerWithNamespaceSupport: *mocks.FakeFactory does not implement "github.com/argoproj/notifications-engine/pkg/api".Factory (missing method GetAPIsFromFactory) (typecheck)
|
Lint Go code:
pkg/controller/controller_test.go#L328
cannot use &(mocks.FakeFactory literal) (value of type *mocks.FakeFactory) as "github.com/argoproj/notifications-engine/pkg/api".Factory value in assignment: *mocks.FakeFactory does not implement "github.com/argoproj/notifications-engine/pkg/api".Factory (missing method GetAPIsFromFactory) (typecheck)
|
Lint Go code
issues found
|
test:
pkg/controller/controller_test.go#L93
cannot use &mocks.FakeFactory{...} (type *mocks.FakeFactory) as type "github.com/argoproj/notifications-engine/pkg/api".Factory in argument to NewControllerWithNamespaceSupport:
|
test:
pkg/controller/controller_test.go#L328
cannot use &mocks.FakeFactory{...} (type *mocks.FakeFactory) as type "github.com/argoproj/notifications-engine/pkg/api".Factory in assignment:
|
test
Process completed with exit code 2.
|