mirror of https://github.com/docker/cli.git
Use namespace label on stack volumes.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
a0ce75c25d
commit
798c4a614e
|
@ -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 New Issue