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

Require -numUnits in postcli #241

Merged
merged 2 commits into from
Sep 20, 2023
Merged

Require -numUnits in postcli #241

merged 2 commits into from
Sep 20, 2023

Conversation

lrettig
Copy link
Member

@lrettig lrettig commented Sep 19, 2023

Replaces #239
Closes #236

This is a much simpler, stopgap fix for this issue that doesn't require changing the lower level post code.

Before performing a potentially destructive action such as
initialization
@lrettig lrettig requested a review from fasmat September 19, 2023 19:18
@codecov
Copy link

codecov bot commented Sep 19, 2023

Codecov Report

Merging #241 (9f47dc0) into develop (6fc593a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           develop    #241   +/-   ##
=======================================
  Coverage     68.6%   68.6%           
=======================================
  Files           28      28           
  Lines         1862    1862           
=======================================
  Hits          1279    1279           
  Misses         435     435           
  Partials       148     148           

Explicitly check whether value has been set. In previous code user could
still pass -numUnits 0.
@fasmat
Copy link
Member

fasmat commented Sep 20, 2023

LGTM

@fasmat fasmat merged commit fdb2b5b into develop Sep 20, 2023
16 checks passed
@fasmat fasmat deleted the require-numunits branch September 20, 2023 15:17
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.

postcli should never delete existing postdata files
2 participants