container paths don't need to be expanded

They should not ever be relative.

Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
This commit is contained in:
Mazz Mosley 2015-10-13 17:03:09 +01:00
parent 4b845746ef
commit bc6b3f970b
1 changed files with 0 additions and 1 deletions

View File

@ -485,7 +485,6 @@ def resolve_volume_paths(service_dict, working_dir=None):
def resolve_volume_path(volume, working_dir, service_name):
container_path, host_path = split_path_mapping(volume)
container_path = os.path.expanduser(container_path)
if host_path is not None:
if host_path.startswith('.'):