Browse Source

Remove dead code

Nuwan Goonasekera 6 years ago
parent
commit
a9ca4a9ac6
1 changed files with 0 additions and 4 deletions
  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