Commit 9b335f8f authored by Sofia Papagiannaki's avatar Sofia Papagiannaki Committed by Christos Stavrakakis
Browse files

pithos backend: update get_domain_objects method

Rename and change it to backend method
(add the backend_method decorator)
parent d9f01365
......@@ -1519,7 +1519,8 @@ class ModularBackend(BaseBackend):
# Domain functions
def _get_domain_objects(self, domain, user=None):
@backend_method
def get_domain_objects(self, domain, user=None):
obj_list = self.node.domain_object_list(domain, CLUSTER_NORMAL)
if user != None:
obj_list = [t for t in obj_list \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment