Skip to content

Assorted helpers and refactoring #1856

Assorted helpers and refactoring

Assorted helpers and refactoring #1856

Triggered via pull request August 13, 2024 08:35
@moshloopmoshloop
synchronize #942
moshloop
Status Failure
Total duration 1m 42s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
lint: tests/setup/common.go#L131
cannot use DefaultContext.WithValue("db_name", dbName).WithValue("db_url", PgUrl) (value of type "github.com/flanksource/duty/context".Context) as "github.com/flanksource/commons/context".Context value in struct literal (typecheck)
lint: tests/schema_test.go#L6
could not import github.com/flanksource/duty/tests/setup (-: # github.com/flanksource/duty/tests/setup
lint: tests/setup/common.go#L131
cannot use DefaultContext.WithValue("db_name", dbName).WithValue("db_url", PgUrl) (value of type "github.com/flanksource/duty/context".Context) as "github.com/flanksource/commons/context".Context value in struct literal) (typecheck)
lint
issues found