mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #67894 from deads2k/server-04-storage
Automatic merge from submit-queue (batch tested with PRs 67894, 64097). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. remove dead protobuf tags from test The protobuf tags on this object are deceptive. The test doesn't actually verify proto and in fact requires using json instead. This makes for weird errors when you try to "fix" it. /assign @enj @kubernetes/sig-api-machinery-pr-reviews ```release-note NONE ```
This commit is contained in:
commit
d0f42e248c
@ -732,14 +732,14 @@ func getEtcdBucket(path string) string {
|
|||||||
// stable fields to compare as a sanity check
|
// stable fields to compare as a sanity check
|
||||||
type metaObject struct {
|
type metaObject struct {
|
||||||
// all of type meta
|
// all of type meta
|
||||||
Kind string `json:"kind,omitempty" protobuf:"bytes,1,opt,name=kind"`
|
Kind string `json:"kind,omitempty"`
|
||||||
APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,2,opt,name=apiVersion"`
|
APIVersion string `json:"apiVersion,omitempty"`
|
||||||
|
|
||||||
// parts of object meta
|
// parts of object meta
|
||||||
Metadata struct {
|
Metadata struct {
|
||||||
Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
|
Name string `json:"name,omitempty"`
|
||||||
Namespace string `json:"namespace,omitempty" protobuf:"bytes,2,opt,name=namespace"`
|
Namespace string `json:"namespace,omitempty"`
|
||||||
} `json:"metadata,omitempty" protobuf:"bytes,3,opt,name=metadata"`
|
} `json:"metadata,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (obj *metaObject) getGVK() schema.GroupVersionKind {
|
func (obj *metaObject) getGVK() schema.GroupVersionKind {
|
||||||
|
Loading…
Reference in New Issue
Block a user