[node-patches] Change in ovirt-node[ovirt-3.6]: Allow -1 for data sizes again
fabiand at redhat.com
fabiand at redhat.com
Thu Nov 26 16:57:28 UTC 2015
Fabian Deutsch 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/60/49260/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/49260
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I33856cd33b00fe0d7a376beb359f7242b15bcb33
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.6
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>
More information about the node-patches
mailing list