1
0
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:
Sebastiaan van Stijn
2016-11-29 14:39:26 +01:00
committed by GitHub

View File

@@ -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),
}