mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-19 08:54:44 +00:00
Merge pull request #105135 from astraw99/fix-nil-mergeMap
Fix nil check in map merge
This commit is contained in:
@@ -475,7 +475,7 @@ func makeVolumeHandle(podUID, volSourceSpecName string) string {
|
||||
}
|
||||
|
||||
func mergeMap(first, second map[string]string) map[string]string {
|
||||
if first == nil && second != nil {
|
||||
if first == nil {
|
||||
return second
|
||||
}
|
||||
for k, v := range second {
|
||||
|
Reference in New Issue
Block a user