Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix type mismatch of the status code #35

Merged
merged 2 commits into from
Apr 12, 2022

Conversation

piotrekwitkowski
Copy link
Contributor

@piotrekwitkowski piotrekwitkowski commented Apr 12, 2022

Issue # (if available): Fixes #34

Description of changes:
Status property is now a string, as in the CloudFrontRequestResult. Added return type to the handler function.

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

Copy link
Contributor

@jeandek jeandek left a comment

Choose a reason for hiding this comment

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

Hi @piotrekwitkowski , thanks a lot for spotting the issue and submitting this PR. It looks good to me, except that you forgot to update the unit test which still expect a number to be returned. Could you fix that and submit a revised PR?

Cheers, Jean

@jeandek jeandek added this to the 1.2.2 milestone Apr 12, 2022
@piotrekwitkowski piotrekwitkowski force-pushed the fix/status-type-mismatch branch from 06915be to 3184a23 Compare April 12, 2022 14:17
@piotrekwitkowski
Copy link
Contributor Author

That's right, I fixed that too now.

@piotrekwitkowski piotrekwitkowski force-pushed the fix/status-type-mismatch branch from a8933ad to 981eff2 Compare April 12, 2022 14:29
@jeandek jeandek merged commit 6dc95af into awslabs:main Apr 12, 2022
@jeandek jeandek added the bug Something isn't working label Apr 12, 2022
@piotrekwitkowski piotrekwitkowski deleted the fix/status-type-mismatch branch April 12, 2022 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Type mismatch of the status code
2 participants