-
Notifications
You must be signed in to change notification settings - Fork 10
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
Implement support for excluding time intervals during an invoicing period #166
Comments
@knikolla To clarify, you want to add an option in |
@QuanMPhm Correct. The granularity is days. |
@knikolla I was reviewing the storage billing code, and was confused by this line. I'm not sure of the intention... If we're filtering for change requests that happen both before the current value-change and the PREVIOUS value-change, would the following if clause always fail? A smaller question I have is: Are we assuming that an allocation will not be denied and/or activated more than once in its lifetime? Meaning allocations will always have ONE continuous time period where it is active? Aside from these, I understand the billing code, and will begin working on the solution once you answer my questions. |
@knikolla @joachimweyl After reviewing the test cases, I believe that the code I mentioned above led to unintended billing behavior? |
@QuanMPhm I couldn't remember why either. You can look at the In this case f5382fb Does that help you? |
@QuanMPhm thank you for the heads up. Do you have a clear path to resolve the issue? |
@joachimweyl I'll submit a PR that surfaces this bug, and we can consider next steps once we confirm the bug and its potential impact. |
Example, do not charge for storage during the MGHPCC shutdown.
The text was updated successfully, but these errors were encountered: