Просмотр исходного кода

Removing cloud_type attribute: use PROVIDER_ID instead

Marcus Christie 8 лет назад
Родитель
Сommit
81dfc90f23

+ 0 - 1
cloudbridge/cloud/providers/aws/provider.py

@@ -31,7 +31,6 @@ class AWSCloudProvider(BaseCloudProvider):
 
     def __init__(self, config):
         super(AWSCloudProvider, self).__init__(config)
-        self.cloud_type = 'aws'
 
         # Initialize cloud connection fields
         self.a_key = self._get_config_value(

+ 0 - 1
cloudbridge/cloud/providers/openstack/provider.py

@@ -33,7 +33,6 @@ class OpenStackCloudProvider(BaseCloudProvider):
 
     def __init__(self, config):
         super(OpenStackCloudProvider, self).__init__(config)
-        self.cloud_type = 'openstack'
 
         # Initialize cloud connection fields
         self.username = self._get_config_value(