Sfoglia il codice sorgente

Merge pull request #239 from nuwang/remove_deadcode

Remove dead code
Alexandru Mahmoud 6 anni fa
parent
commit
422a449a52
1 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  1. 0 4
      cloudbridge/providers/aws/services.py

+ 0 - 4
cloudbridge/providers/aws/services.py

@@ -1161,10 +1161,6 @@ class AWSSubnetService(BaseSubnetService):
                 # gateway. See note above about why this is commented
                 # default_router.attach_subnet(sn)
                 default_sn = sn
-        # No specific zone was supplied; return the last created subnet
-        # The list was originally reversed to have the last subnet be in zone a
-        if not default_sn:
-            default_sn = sn
         return default_sn