Explorar o código

Merge pull request #239 from nuwang/remove_deadcode

Remove dead code
Alexandru Mahmoud %!s(int64=6) %!d(string=hai) anos
pai
achega
422a449a52
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  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