Use namespace label on stack volumes.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin 2016-11-28 18:02:39 -05:00
parent a0ce75c25d
commit 798c4a614e
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ func convertVolumeToMount(
source = stackVolume.External.Name source = stackVolume.External.Name
} else { } else {
volumeOptions = &mount.VolumeOptions{ volumeOptions = &mount.VolumeOptions{
Labels: stackVolume.Labels, Labels: getStackLabels(namespace.name, stackVolume.Labels),
NoCopy: isNoCopy(mode), NoCopy: isNoCopy(mode),
} }