mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
HostVolumeConfig: Source -> Path
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user