Use namespace label on stack volumes.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
(cherry picked from commit 4013a7c6d8
)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
This commit is contained in:
parent
97b0fd9fe3
commit
a8c2248e6f
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue