Browse Source

container paths don't need to be expanded

They should not ever be relative.

Signed-off-by: Mazz Mosley <[email protected]>
Mazz Mosley 10 năm trước cách đây
mục cha
commit
bc6b3f970b
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      compose/config/config.py

+ 0 - 1
compose/config/config.py

@@ -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('.'):