mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Allocate map for ManifestURLHeader
This commit is contained in:
parent
1a4a019e5f
commit
2026f9b14a
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user