Merge pull request #3025 from fuweid/bugfix_merge_label
metadata: merge snapshot labels with metadata's labels
This commit is contained in:
commit
ee916fe33c
@ -232,7 +232,7 @@ func overlayInfo(info, overlay snapshots.Info) snapshots.Info {
|
||||
info.Labels = overlay.Labels
|
||||
} else {
|
||||
for k, v := range overlay.Labels {
|
||||
overlay.Labels[k] = v
|
||||
info.Labels[k] = v
|
||||
}
|
||||
}
|
||||
return info
|
||||
|
Loading…
Reference in New Issue
Block a user