fix: use metav1.Object instead of runtime.Object for more ergonomic annotation handling #541
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.
|