Allocate map for ManifestURLHeader

This commit is contained in:
Michael Taufen 2017-11-10 10:12:24 -08:00
parent 1a4a019e5f
commit 2026f9b14a

View File

@ -242,6 +242,9 @@ func SetDefaults_KubeletConfiguration(obj *KubeletConfiguration) {
if obj.FeatureGates == nil {
obj.FeatureGates = make(map[string]bool)
}
if obj.ManifestURLHeader == nil {
obj.ManifestURLHeader = make(map[string][]string)
}
}
func boolVar(b bool) *bool {