[node-patches] Change in ovirt-node[node-3.0]: Let data-size be specified as -1

rbarry at redhat.com rbarry at redhat.com
Sat Oct 12 14:27:28 UTC 2013


Ryan Barry has uploaded a new change for review.

Change subject: Let data-size be specified as -1
......................................................................

Let data-size be specified as -1

Previously, we enforced bounds of >= 0 on data size, but -1 should
be an allowed size to fill the entire partition. Allow it.

Change-Id: Idef165f508bd7628311c04edc240f3af006d7577
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1017583
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M src/ovirt/node/installer/core/storage_vol_page.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/31/20131/1

diff --git a/src/ovirt/node/installer/core/storage_vol_page.py b/src/ovirt/node/installer/core/storage_vol_page.py
index 718cb02..1989cea 100644
--- a/src/ovirt/node/installer/core/storage_vol_page.py
+++ b/src/ovirt/node/installer/core/storage_vol_page.py
@@ -54,7 +54,7 @@
                 "storage.logging_size":
                 valid.Number(bounds=[min_logging, None]) | is_zero,
                 "storage.data_size":
-                valid.Number(bounds=[0, None]),
+                valid.Number(bounds=[-1, None]),
                 }
 
     def ui_content(self):


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idef165f508bd7628311c04edc240f3af006d7577
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: node-3.0
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>



More information about the node-patches mailing list