Fix indent
This commit is contained in:
parent
210b8b24eb
commit
819dcfee24
@ -449,8 +449,7 @@ class EventSourceMapping(BaseModel):
|
|||||||
# Use service default if not provided
|
# Use service default if not provided
|
||||||
batch_size = int(spec.get('BatchSize', batch_size_entry[0]))
|
batch_size = int(spec.get('BatchSize', batch_size_entry[0]))
|
||||||
if batch_size > batch_size_entry[1]:
|
if batch_size > batch_size_entry[1]:
|
||||||
raise ValueError(
|
raise ValueError("InvalidParameterValueException",
|
||||||
"InvalidParameterValueException",
|
|
||||||
"BatchSize {} exceeds the max of {}".format(batch_size, batch_size_entry[1]))
|
"BatchSize {} exceeds the max of {}".format(batch_size, batch_size_entry[1]))
|
||||||
else:
|
else:
|
||||||
self.batch_size = batch_size
|
self.batch_size = batch_size
|
||||||
|
Loading…
Reference in New Issue
Block a user