Explorar el Código

container paths don't need to be expanded

They should not ever be relative.

Signed-off-by: Mazz Mosley <[email protected]>
Mazz Mosley hace 10 años
padre
commit
bc6b3f970b
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  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('.'):