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

rbarry at redhat.com rbarry at redhat.com
Fri Oct 11 15:38:00 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/22/20122/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/20122
To unsubscribe, visit http://gerrit.ovirt.org/settings

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



More information about the node-patches mailing list