소스 검색

Merge pull request #61 from machristie/remove-cloud-type

Removing cloud_type attribute: use PROVIDER_ID instead
Enis Afgan 8 년 전
부모
커밋
55c10020f6
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(