mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 10:43:56 +00:00
api: rename non-convertible annotation prefix to be valid
This commit is contained in:
parent
1d3748d7e5
commit
e634c90c64
@ -42,7 +42,6 @@ go_library(
|
|||||||
"//vendor:k8s.io/apimachinery/pkg/selection",
|
"//vendor:k8s.io/apimachinery/pkg/selection",
|
||||||
"//vendor:k8s.io/apimachinery/pkg/types",
|
"//vendor:k8s.io/apimachinery/pkg/types",
|
||||||
"//vendor:k8s.io/apimachinery/pkg/util/sets",
|
"//vendor:k8s.io/apimachinery/pkg/util/sets",
|
||||||
"//vendor:k8s.io/apimachinery/pkg/util/validation/field",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ func (c *ConversionError) Error() string {
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
// annotation key prefix used to identify non-convertible json paths.
|
// annotation key prefix used to identify non-convertible json paths.
|
||||||
NonConvertibleAnnotationPrefix = "kubernetes.io/non-convertible"
|
NonConvertibleAnnotationPrefix = "non-convertible.kubernetes.io"
|
||||||
)
|
)
|
||||||
|
|
||||||
// NonConvertibleFields iterates over the provided map and filters out all but
|
// NonConvertibleFields iterates over the provided map and filters out all but
|
||||||
|
Loading…
Reference in New Issue
Block a user