Eduardo has posted comments on this change.

Change subject: hsm: use utils.tobool instead of ad-hoc bool convertion
......................................................................


Patch Set 2: I would prefer that you didn't submit this

(1 inline comment)

....................................................
File vdsm/storage/hsm.py
Line 1705:            raise se.VolumeGroupSizeError("VG size must be more than 
%s MiB" % str(MINIMALVGSIZE / constants.MEGAB))
Line 1706: 
Line 1707:         lvm.createVG(vgname, devices, 
blockSD.STORAGE_UNREADY_DOMAIN_TAG,
Line 1708:                      metadataSize=blockSD.VG_METADATASIZE,
Line 1709:                      force=utils.tobool(force))
We need to unify these *.*bool() functions and call them when got the input in 
the interface. Adding here a new dependency can be avoided.
Line 1710: 
Line 1711:         return dict(uuid=lvm.getVG(vgname).uuid)
Line 1712: 
Line 1713: 


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I2ce0ec34d10380c8e1e8bd94e17ef436deb28579
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Zhou Zheng Sheng <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Eduardo <[email protected]>
Gerrit-Reviewer: Mark Wu <[email protected]>
Gerrit-Reviewer: Zhou Zheng Sheng <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to