Skip to content

fix: Move validation of timeout is an int further down the stack#1515

Merged
sanathkr merged 3 commits intoaws:developfrom
jfuss:fix/build-failes-when-timeout-is-param
Nov 11, 2019
Merged

fix: Move validation of timeout is an int further down the stack#1515
sanathkr merged 3 commits intoaws:developfrom
jfuss:fix/build-failes-when-timeout-is-param

Conversation

@jfuss
Copy link
Contributor

@jfuss jfuss commented Nov 8, 2019

Issue #, if available:

Description of changes:

Checklist:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few more examples to cover:

`3.2, "4.2", "0.123",

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good callout. These end up not throwing due to the casting to int. I need to add an additional type/instance check before converting.

Copy link
Contributor

@sanathkr sanathkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for making the change.

I want to make sure floats / strings-of-floats are covered. If they are, feel free to merge.

@sanathkr sanathkr added the stage/waiting-for-release Fix has been merged to develop and is waiting for a release label Nov 11, 2019
@jfuss jfuss force-pushed the fix/build-failes-when-timeout-is-param branch from fa02ab9 to 5e4a807 Compare November 11, 2019 18:16
@sanathkr sanathkr merged commit 6327d33 into aws:develop Nov 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stage/waiting-for-release Fix has been merged to develop and is waiting for a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants