Explorar o código

Add cloud_type property to OpenStack provider class to be inline with the AWS provider class

Enis Afgan %!s(int64=10) %!d(string=hai) anos
pai
achega
84672b15ca
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      cloudbridge/cloud/providers/openstack/provider.py

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

@@ -28,6 +28,7 @@ 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(