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: Update validate logic to use MemorySize #782

Merged
merged 9 commits into from
Jul 11, 2023

Conversation

TylerHelmuth
Copy link
Contributor

Which problem is this PR solving?

Short description of the changes

  • Update config validation to use MemorySize custom logic

@TylerHelmuth TylerHelmuth added the version: bump patch A PR with release-worthy changes and is backwards-compatible. label Jul 10, 2023
@TylerHelmuth TylerHelmuth added this to the v2.0.1 milestone Jul 10, 2023
@TylerHelmuth TylerHelmuth requested a review from a team as a code owner July 10, 2023 21:18
@TylerHelmuth TylerHelmuth changed the title Update validate logic to use MemorySize fix: Update validate logic to use MemorySize Jul 10, 2023
config/validate_test.go Outdated Show resolved Hide resolved
@TylerHelmuth
Copy link
Contributor Author

@kentquirk updated the unmarshal logic to appropriately differential between decimal and binary units. Added lots of tests.

config/file_config.go Outdated Show resolved Hide resolved
Copy link
Contributor

@kentquirk kentquirk left a comment

Choose a reason for hiding this comment

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

👍

@TylerHelmuth TylerHelmuth merged commit 9d2b8f8 into main Jul 11, 2023
@TylerHelmuth TylerHelmuth deleted the tyler-fix-memory-validation branch July 11, 2023 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
version: bump patch A PR with release-worthy changes and is backwards-compatible.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants