소스 검색

container paths don't need to be expanded

They should not ever be relative.

Signed-off-by: Mazz Mosley <[email protected]>
Mazz Mosley 10 년 전
부모
커밋
bc6b3f970b
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  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('.'):