mirror of
https://github.com/docker/compose.git
synced 2026-10-23 20:33:31 +00:00
append unix-style relative path when computing container target path
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
9c60fe67df
commit
d2b9456137
1 changed files with 1 additions and 1 deletions
|
|
@ -294,7 +294,7 @@ func maybeFileEvent(trigger types.Trigger, hostPath string, ignore watch.PathMat
|
|||
return nil
|
||||
}
|
||||
// always use Unix-style paths for inside the container
|
||||
containerPath = path.Join(trigger.Target, rel)
|
||||
containerPath = path.Join(trigger.Target, filepath.ToSlash(rel))
|
||||
}
|
||||
|
||||
return &fileEvent{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue