Skip to content

feat: added provider struct method: GetCorrelatingEvent #117

feat: added provider struct method: GetCorrelatingEvent

feat: added provider struct method: GetCorrelatingEvent #117

Triggered via pull request January 11, 2025 19:25
Status Failure
Total duration 41s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 3 warnings
Unit Tests: pkg/webhook_creator/tests_test.go#L149
cannot use mockClient (variable of type *MockGitProviderClient) as git_provider.Client value in struct literal: *MockGitProviderClient does not implement git_provider.Client (missing method GetCorrelatingEvent)
Unit Tests: pkg/webhook_creator/tests_test.go#L184
cannot use mockClient (variable of type *MockGitProviderClient) as git_provider.Client value in assignment: *MockGitProviderClient does not implement git_provider.Client (missing method GetCorrelatingEvent)
Unit Tests: pkg/webhook_creator/tests_test.go#L216
cannot use mockClient (variable of type *MockGitProviderClient) as git_provider.Client value in assignment: *MockGitProviderClient does not implement git_provider.Client (missing method GetCorrelatingEvent)
Unit Tests: pkg/webhook_creator/tests_test.go#L279
cannot use mockClient (variable of type *MockGitProviderClient) as git_provider.Client value in assignment: *MockGitProviderClient does not implement git_provider.Client (missing method GetCorrelatingEvent)
Unit Tests: pkg/webhook_creator/tests_test.go#L328
cannot use mockClient (variable of type *MockGitProviderClient) as git_provider.Client value in assignment: *MockGitProviderClient does not implement git_provider.Client (missing method GetCorrelatingEvent)
Unit Tests: pkg/webhook_creator/tests_test.go#L364
cannot use mockClient (variable of type *MockGitProviderClient) as git_provider.Client value in assignment: *MockGitProviderClient does not implement git_provider.Client (missing method GetCorrelatingEvent)
Unit Tests: pkg/webhook_handler/webhook_handler_test.go#L497
cannot use &mockGitProvider{} (value of type *mockGitProvider) as git_provider.Client value in struct literal: *mockGitProvider does not implement git_provider.Client (missing method GetCorrelatingEvent)
Unit Tests
Process completed with exit code 2.
Helm Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Go Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636