mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
Merge pull request #55499 from mtaufen/fix-manifest-url-header
Automatic merge from submit-queue. 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>. Allocate map for ManifestURLHeader Issue: #55189 Fixes an assignment to nil map. /cc @yliaog ```release-note NONE ```
This commit is contained in:
commit
113bf2567d
@ -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