Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Verify requested size in volume.api create
Currently we're not checking that the input value requested for size on volume create is valid, but taskflow portion of the code expects it to be and as a result when it receives invalid input we litter the logs with Trace messages. This patch adds a check that verifies that if we pass in a size to create_volume in the volume.api that it is in fact an int or a string representation of an int. Worst commit ever Change-Id: I81bf515360eacf63e6f3cdb672ec7f37001aa4fb Closes-Bug: 1370773
- Loading branch information
1 parent
5aec78f
commit 7ed28d1
Showing
3 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters