Skip to content

prevent equivalent disk_size values from causing cluster replacement #177

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

Merged
merged 2 commits into from
Dec 14, 2024

Conversation

scott-the-programmer
Copy link
Owner

Closes #176

This PR applies the same conversion / validation function that we apply for memory to disk_size property. The result is that applying equivalent values (i.e. 10240m and 10g) result in a no-op

@scott-the-programmer scott-the-programmer force-pushed the bug/disk_size_diff branch 2 times, most recently from a9f600f to fddff56 Compare December 14, 2024 12:12
@scott-the-programmer scott-the-programmer enabled auto-merge (squash) December 14, 2024 12:16
@scott-the-programmer scott-the-programmer force-pushed the bug/disk_size_diff branch 2 times, most recently from 6d3b9c8 to 7969d86 Compare December 14, 2024 12:58
Copy link

codecov bot commented Dec 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.67%. Comparing base (ac9ee40) to head (368fd00).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #177   +/-   ##
=======================================
  Coverage   79.67%   79.67%           
=======================================
  Files          15       15           
  Lines        1166     1166           
=======================================
  Hits          929      929           
  Misses        204      204           
  Partials       33       33           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@scott-the-programmer scott-the-programmer merged commit 1e63fe9 into main Dec 14, 2024
1 check passed
@scott-the-programmer scott-the-programmer deleted the bug/disk_size_diff branch December 14, 2024 13:08
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.

disk size units other than mb lead to destroyment of cluster
1 participant