[node-patches] Change in ovirt-node[master]: Allow -1 for data sizes again
rbarry at redhat.com
rbarry at redhat.com
Tue Oct 13 21:08:49 UTC 2015
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 <rbarry at redhat.com>
---
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 <rbarry at redhat.com>
More information about the node-patches
mailing list