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

Allow using float value in memory and cpu config #42

Merged
merged 5 commits into from
Jun 14, 2023

Conversation

yyamanoi1222
Copy link
Contributor

Issue #39, if available:

Description of changes:
change parse logic to Number from parseInt

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor

@DmitryGulin DmitryGulin left a comment

Choose a reason for hiding this comment

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

I don't think it makes sense to allow float numbers for port and wait-for-service-stability-seconds parameters.
Moreover, adding additional tests to validate that 0.5 and 0.25 do not result in rounding to an integer would be great too.

@yyamanoi1222
Copy link
Contributor Author

@DmitryGulin thank you for you review. I gonna split a method into parseInt and parseFloat.

@yyamanoi1222
Copy link
Contributor Author

@DmitryGulin I added a argument for parsing only int. Could you review it again?

@DmitryGulin DmitryGulin merged commit b29ed46 into awslabs:main Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants