فهرست منبع

Removing cloud_type attribute: use PROVIDER_ID instead

Marcus Christie 8 سال پیش
والد
کامیت
81dfc90f23
2فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  1. 0 1
      cloudbridge/cloud/providers/aws/provider.py
  2. 0 1
      cloudbridge/cloud/providers/openstack/provider.py

+ 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(