prominence-eosc / prominence

PROMINENCE server
Apache License 2.0
2 stars 0 forks source link

Json validation code checks for digits but doesn't distinguish between ints and strings #146

Closed alahiff closed 4 years ago

alahiff commented 4 years ago

When number of CPUs is set to a string "1" it passes the validation check but causes an exception later on. Values specified as strings which should be ints should be rejected.

alahiff commented 4 years ago

Corrected in https://github.com/prominence-eosc/prominence/commit/41f7509af0944a89b285fe16607ed84b8987ef59