Federico Simoncelli has uploaded a new change for review.

Change subject: sp: remove the getFormat method
......................................................................

sp: remove the getFormat method

Change-Id: Ifb292ef57f94e1fea67f3111e5f414cc41c346a9
Signed-off-by: Federico Simoncelli <[email protected]>
---
M vdsm/storage/sp.py
1 file changed, 1 insertion(+), 5 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/85/21785/1

diff --git a/vdsm/storage/sp.py b/vdsm/storage/sp.py
index 58ad3df..8ae733b 100644
--- a/vdsm/storage/sp.py
+++ b/vdsm/storage/sp.py
@@ -1099,7 +1099,7 @@
         isMsd = (self.masterDomain.sdUUID == sdUUID)
 
         if targetFormat is None:
-            targetFormat = self.getFormat()
+            targetFormat = str(self.getVersion())
 
         try:
             self._formatConverter.convert(
@@ -1110,10 +1110,6 @@
             # conversion supposedly failed.
             sdCache.manuallyRemoveDomain(sdUUID)
             sdCache.produce(sdUUID)
-
-    @unsecured
-    def getFormat(self):
-        return str(self.getVersion())
 
     def activateSD(self, sdUUID):
         """


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

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

Reply via email to