Skip to content

fix: use metav1.Object instead of runtime.Object for more ergonomic annotation handling #541

fix: use metav1.Object instead of runtime.Object for more ergonomic annotation handling

fix: use metav1.Object instead of runtime.Object for more ergonomic annotation handling #541

Re-run triggered July 12, 2023 02:43
Status Failure
Total duration 3m 27s
Artifacts

ci.yml

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

Annotations

4 errors
test (1.20): pkg/controllers/util/sourcefeedback/util.go#L34
cannot use object (variable of type "k8s.io/apimachinery/pkg/runtime".Object) as "k8s.io/apimachinery/pkg/apis/meta/v1".Object value in argument to annotation.AddAnnotation: "k8s.io/apimachinery/pkg/runtime".Object does not implement "k8s.io/apimachinery/pkg/apis/meta/v1".Object (missing method GetAnnotations)
test (1.20)
Process completed with exit code 2.
test (1.19): pkg/controllers/util/sourcefeedback/util.go#L34
cannot use object (variable of type runtime.Object) as type "k8s.io/apimachinery/pkg/apis/meta/v1".Object in argument to annotation.AddAnnotation:
test (1.19)
Process completed with exit code 2.