Add disk_types sub-properties to CloudConfig schema

This commit is contained in:
Kris De Volder
2017-08-09 15:53:40 -07:00
parent 263b6067cf
commit ec1dbc5e9f
6 changed files with 68 additions and 5 deletions

View File

@@ -36,6 +36,7 @@ public class ValueParsers {
return new ValueParser() {
@Override
public Object parse(String str) throws Exception {
str = str.replace("_", ""); //Tolerate and ignore underscores in integers.
int value = Integer.parseInt(str);
if (lowerBound!=null && value<lowerBound) {
if (lowerBound==0) {