Преглед на файлове

Add target-env param in `get_storage()` provider abstract method.

Nashwan Azhari преди 7 години
родител
ревизия
8b70ffcd39
променени са 1 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 4 2
      coriolis/providers/base.py

+ 4 - 2
coriolis/providers/base.py

@@ -384,8 +384,10 @@ def get_os_morphing_tools_helper(conn, os_morphing_tools_clss,
 
 
 class BaseEndpointStorageProvider(object, with_metaclass(abc.ABCMeta)):
 class BaseEndpointStorageProvider(object, with_metaclass(abc.ABCMeta)):
     @abc.abstractmethod
     @abc.abstractmethod
-    def get_storage(self, ctxt, connection_info):
-        """ Returns all the storage options available"""
+    def get_storage(self, ctxt, connection_info, target_environment):
+        """ Returns all the storage options available to the given
+        credentials within the provided target_environment.
+        """
         pass
         pass