mirror of
https://github.com/docker/cli.git
synced 2026-01-18 08:21:31 +03:00
Merge pull request #28904 from dnephin/add-volume-labels-to-deploy
Use namespace label on stack volumes
Upstream-commit: dea82af0ea
Component: cli
This commit is contained in:
@@ -347,7 +347,7 @@ func convertVolumeToMount(
|
||||
source = stackVolume.External.Name
|
||||
} else {
|
||||
volumeOptions = &mount.VolumeOptions{
|
||||
Labels: stackVolume.Labels,
|
||||
Labels: getStackLabels(namespace.name, stackVolume.Labels),
|
||||
NoCopy: isNoCopy(mode),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user