metadata: merge snapshot labels with metadata's labels
fix the no-op issue. Signed-off-by: Wei Fu <fuweid89@gmail.com>
This commit is contained in:
parent
a378dbc2ab
commit
4b3e0a8aaa
@ -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