Browse Source

Fix depends_on serialisation on `docker-compose config`

Signed-off-by: aiordache <[email protected]>
aiordache 5 years ago
parent
commit
a75b6249f8
1 changed files with 0 additions and 5 deletions
  1. 0 5
      compose/config/serialize.py

+ 0 - 5
compose/config/serialize.py

@@ -121,11 +121,6 @@ def denormalize_service_dict(service_dict, version, image_digest=None):
     if version == V1 and 'network_mode' not in service_dict:
         service_dict['network_mode'] = 'bridge'
 
-    if 'depends_on' in service_dict:
-        service_dict['depends_on'] = sorted([
-            svc for svc in service_dict['depends_on'].keys()
-        ])
-
     if 'healthcheck' in service_dict:
         if 'interval' in service_dict['healthcheck']:
             service_dict['healthcheck']['interval'] = serialize_ns_time_value(