mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 21:50:05 +00:00
Remove unused YAML tags and GetYAML/SetYAML methods
Unneeded after move to ghodss/yaml.
This commit is contained in:
@@ -36,9 +36,9 @@ type fakeClientGetSet struct {
|
||||
}
|
||||
|
||||
type TestResource struct {
|
||||
api.TypeMeta `json:",inline" yaml:",inline"`
|
||||
api.ObjectMeta `json:"metadata" yaml:"metadata"`
|
||||
Value int `json:"value" yaml:"value,omitempty"`
|
||||
api.TypeMeta `json:",inline"`
|
||||
api.ObjectMeta `json:"metadata"`
|
||||
Value int `json:"value"`
|
||||
}
|
||||
|
||||
func (*TestResource) IsAnAPIObject() {}
|
||||
|
Reference in New Issue
Block a user