mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-09 17:45:35 +00:00
fix nil merge map
This commit is contained in:
@@ -474,7 +474,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