forked from aws/aws-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parse --statistic-values values into a decimal type
This was failing the improved botocore param validation because we were previously setting this value to a string. We now set this value to a decimal.Decimal to ensure we have a valid type that will also pass the botocore param validation. While I was in the code, I also updated the code to use the new botocore CamelCasing from metric_data to MetricData. There was also some general test cleanup to switch the tests to assert_params_for_cmd2. Fixes aws#1036.
- Loading branch information
Showing
3 changed files
with
52 additions
and
23 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