#2166 Show the correct max value when range validation fails.

Open emdelaney
Showing 1 of 2 files from the diff.
Other files ignored by Codecov

@@ -75,6 +75,9 @@
Loading
75 75
        min_allowed = shape.metadata['min']
76 76
        if value < min_allowed:
77 77
            failed = True
78 +
    if 'max' in shape.metadata:
79 +
        max_allowed = shape.metadata['max']
80 +
        # Only validating the min, and not the max here, is intentional.
78 81
    elif hasattr(shape, 'serialization'):
79 82
        # Members that can be bound to the host have an implicit min of 1
80 83
        if shape.serialization.get('hostLabel'):

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
botocore +<.01% 98.30%
Project Totals (58 files) 98.30%
Loading