Skip to content

Add Contact Points #385

Add Contact Points

Add Contact Points #385

Triggered via pull request October 17, 2024 21:04
Status Failure
Total duration 4m 21s
Artifacts

code_scanners.yml

on: pull_request
Matrix: code_scanning
Fit to window
Zoom out
Zoom in

Annotations

9 errors
code_scanning (security): cli/backup/alerting_contacts.go#L47
assignment mismatch: 1 variable but rootCmd.GrafanaSvc().ListContactPoints returns 2 values
code_scanning (security): cli/test/support.go#L24
cannot use testSvc (variable of type *mocks.GrafanaService) as "github.com/esnet/gdg/internal/service".GrafanaService value in return statement: *mocks.GrafanaService does not implement "github.com/esnet/gdg/internal/service".GrafanaService (wrong type for method ListContactPoints)
code_scanning (security)
Process completed with exit code 201.
code_scanning (lint)
The job was canceled because "security" failed.
code_scanning (lint): cli/backup/alerting_contacts.go#L47
assignment mismatch: 1 variable but rootCmd.GrafanaSvc().ListContactPoints returns 2 values (typecheck)
code_scanning (lint): cli/commandeer.go#L8
could not import github.com/esnet/gdg/cli/backup (-: # github.com/esnet/gdg/cli/backup
code_scanning (lint): cli/backup/alerting_contacts.go#L47
assignment mismatch: 1 variable but rootCmd.GrafanaSvc().ListContactPoints returns 2 values) (typecheck)
code_scanning (lint): cli/test/support.go#L24
cannot use testSvc (variable of type *mocks.GrafanaService) as "github.com/esnet/gdg/internal/service".GrafanaService value in return statement: *mocks.GrafanaService does not implement "github.com/esnet/gdg/internal/service".GrafanaService (wrong type for method ListContactPoints)
code_scanning (lint)
The operation was canceled.