mirror of https://github.com/docker/compose.git
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
|
@ -294,7 +294,7 @@ func maybeFileEvent(trigger types.Trigger, hostPath string, ignore watch.PathMat
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
// always use Unix-style paths for inside the container
|
// 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{
|
return &fileEvent{
|
||||||
|
|
Loading…
Reference in New Issue