Skip to content

Cleanup orphaned func, new image-name calculation #4438

Cleanup orphaned func, new image-name calculation

Cleanup orphaned func, new image-name calculation #4438

Triggered via pull request January 10, 2024 10:03
Status Failure
Total duration 1m 14s
Artifacts

check.yaml

on: pull_request
Matrix: Check Source
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Check Source (ubuntu-latest): cmd/client.go#L16
could not import knative.dev/func/pkg/knative (-: # knative.dev/func/pkg/knative
Check Source (ubuntu-latest): pkg/knative/remover.go#L26
undefined: fn.ErrNamespaceRequired
Check Source (ubuntu-latest): pkg/knative/remover.go#L37
undefined: fn.ErrFunctionNotFound) (typecheck)
Check Source (ubuntu-latest): cmd/client_test.go#L24
cannot use remover (variable of type *mock.Remover) as functions.Remover value in argument to fn.WithRemover: *mock.Remover does not implement functions.Remover (wrong type for method Remove)
Check Source (ubuntu-latest): cmd/delete_test.go#L80
cannot use (func(n string) error literal) (value of type func(n string) error) as func(string, string) error value in assignment (typecheck)
Check Source (ubuntu-latest): cmd/delete_test.go#L89
cannot use remover (variable of type *mock.Remover) as functions.Remover value in argument to fn.WithRemover: *mock.Remover does not implement functions.Remover (wrong type for method Remove)
Check Source (ubuntu-latest): cmd/delete_test.go#L127
cannot use (func(n string) error literal) (value of type func(n string) error) as func(string, string) error value in assignment (typecheck)
Check Source (ubuntu-latest): cmd/delete_test.go#L136
cannot use remover (variable of type *mock.Remover) as functions.Remover value in argument to fn.WithRemover: *mock.Remover does not implement functions.Remover (wrong type for method Remove)
Check Source (ubuntu-latest): pkg/functions/client_test.go#L988
cannot use (func(name string) error literal) (value of type func(name string) error) as func(string, string) error value in assignment (typecheck)
Check Source (ubuntu-latest): pkg/functions/client_test.go#L1030
cannot use (func(name string) error literal) (value of type func(name string) error) as func(string, string) error value in assignment (typecheck)