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
commit ee916fe33c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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