Eduardo has uploaded a new change for review.

Change subject: Mark getImageDomainsList() as deprecated.
......................................................................

Mark getImageDomainsList() as deprecated.

getImageDomainsList needs to be connected to the pool and ignores
every non responding domain. Therefore the result can be wrong and
misleading.
This function should be replaced by getImagesList call.

Change-Id: Icf7c9dd7cd122862c50f452a0f4587a64e5c4b6f
Signed-off-by: Eduardo <[email protected]>
---
M vdsm/storage/hsm.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/91/12591/1

diff --git a/vdsm/storage/hsm.py b/vdsm/storage/hsm.py
index 23621f9..6a324fa 100644
--- a/vdsm/storage/hsm.py
+++ b/vdsm/storage/hsm.py
@@ -3254,6 +3254,7 @@
 
         return {"results": res}
 
+    @deprecated
     @public
     def getImageDomainsList(self, spUUID, imgUUID, datadomains=True,
                             options=None):


--
To view, visit http://gerrit.ovirt.org/12591
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icf7c9dd7cd122862c50f452a0f4587a64e5c4b6f
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Eduardo <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to