Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix error on invalid delete_on_termination value
1. Fixed 500 error when an invalid value is passed to 'delete_on_termination' parameter in 'block_device_mapping' of create server API (json request). Converted the value to 'bool' (similar to XML request workflow) to fix issue. 2. Also added unit test coverage. Fixes LP: #1060955 Change-Id: Ib35040f17a3712dac45ec1e3c2f32fee17db7c03 (cherry picked from commit 7c9761b)
- Loading branch information
Showing
2 changed files
with
28 additions
and
1 deletion.
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