Преглед изворни кода

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)):
     @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