Ryan Barry has uploaded a new change for review.

Change subject: Allow -1 for data sizes again
......................................................................

Allow -1 for data sizes again

Forgot about this when setting a minimum size. Allow the minimum
as well as -1

Change-Id: I33856cd33b00fe0d7a376beb359f7242b15bcb33
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1270443
Signed-off-by: Ryan Barry <[email protected]>
---
M src/ovirt/node/installer/core/storage_vol_page.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/02/47302/1

diff --git a/src/ovirt/node/installer/core/storage_vol_page.py 
b/src/ovirt/node/installer/core/storage_vol_page.py
index b26d26e..e552207 100755
--- a/src/ovirt/node/installer/core/storage_vol_page.py
+++ b/src/ovirt/node/installer/core/storage_vol_page.py
@@ -64,7 +64,8 @@
                 "storage.logging_size":
                 valid.Number(bounds=[min_logging, None]),
                 "storage.data_size":
-                valid.Number(bounds=[min_data, None]),
+                (valid.Number(bounds=[min_data, None]) |
+                    valid.Number(exactly=-1)),
                 }
 
     def ui_content(self):


-- 
To view, visit https://gerrit.ovirt.org/47302
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I33856cd33b00fe0d7a376beb359f7242b15bcb33
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <[email protected]>
_______________________________________________
node-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/node-patches

Reply via email to