Merge pull request #3025 from fuweid/bugfix_merge_label

metadata: merge snapshot labels with metadata's labels
This commit is contained in:
Michael Crosby
2019-02-18 11:39:02 -05:00
committed by GitHub

View File

@@ -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