瀏覽代碼

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(