fix(*): field tag should be yaml instead of json (#100)

This commit is contained in:
Andrew Rynhard 2018-05-20 20:17:06 -07:00 committed by GitHub
parent 5bd08794bf
commit c0e79960fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,7 +99,7 @@ type Kubernetes struct {
type Kubelet struct { type Kubelet struct {
Labels map[string]string `yaml:"labels,omitempty"` Labels map[string]string `yaml:"labels,omitempty"`
FeatureGates map[string]string `yaml:"featureGates,omitempty"` FeatureGates map[string]string `yaml:"featureGates,omitempty"`
ExtraArgs map[string]string `json:"extraArgs,omitempty"` ExtraArgs map[string]string `yaml:"extraArgs,omitempty"`
} }
// UnmarshalYAML implements the yaml.Unmarshaler interface for // UnmarshalYAML implements the yaml.Unmarshaler interface for