HostVolumeConfig: Source -> Path

This commit is contained in:
Danielle Lancashire
2019-08-01 11:55:42 +02:00
parent af5d42c058
commit 7b7be83aef
5 changed files with 5 additions and 5 deletions

View File

@@ -78,7 +78,7 @@ func (h *volumeHook) hostVolumeMountConfigurations(taskMounts []*structs.VolumeM
}
mcfg := &drivers.MountConfig{
HostPath: hostVolume.Source,
HostPath: hostVolume.Path,
TaskPath: m.Destination,
Readonly: hostVolume.ReadOnly || req.ReadOnly || m.ReadOnly,
}