Reviewed: https://review.openstack.org/428800 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=0b2d7c4d028104d3a2a0d5851b194eface707ec3 Submitter: Jenkins Branch: master
commit 0b2d7c4d028104d3a2a0d5851b194eface707ec3 Author: EdLeafe <email address hidden> Date: Fri Feb 3 15:32:55 2017 +0000
Add check for invalid inventory amounts
This patch adds sane minimum and maximums to the fields for an inventory posting, which will quickly return a 400 error if invalid values are passed instead of proceeding, only to fail at the DB layer.
Partial-Bug: #1673227
Change-Id: I6296cee6b8a4be1dd53c52f6290ebda926cf6465
Reviewed: https:/ /review. openstack. org/428800 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=0b2d7c4d028 104d3a2a0d5851b 194eface707ec3
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0b2d7c4d028104d 3a2a0d5851b194e face707ec3
Author: EdLeafe <email address hidden>
Date: Fri Feb 3 15:32:55 2017 +0000
Add check for invalid inventory amounts
This patch adds sane minimum and maximums to the fields for an inventory
posting, which will quickly return a 400 error if invalid values are
passed instead of proceeding, only to fail at the DB layer.
Partial-Bug: #1673227
Change-Id: I6296cee6b8a4be 1dd53c52f6290eb da926cf6465