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

Correctly convert nerc-rates value to boolean #131

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

knikolla
Copy link
Contributor

@knikolla knikolla commented Jan 6, 2025

Closes #130

All values in nerc-rates are of type string and
need to be correctly interpreted by the caller.

Value for Limit New PI Credit to MGHPCC Partners is of type string and value "True" and is being passed as such to a method expecting a boolean.

This change add a comparison with the string "True" to perform the conversion.

@knikolla knikolla requested review from QuanMPhm and hakasapl January 6, 2025 15:19
Closes CCI-MOC#130

All values in nerc-rates are of type string and
need to be correctly interpreted by the caller.

Value for Limit New PI Credit to MGHPCC Partners is of type
string and value "True" and is being passed as such to a method
expecting a boolean.

This change add a comparison with the string "True" to perform
the conversion.
@QuanMPhm QuanMPhm merged commit 5c7290d into CCI-MOC:main Jan 14, 2025
3 checks passed
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.

Correctly interpret boolean value from nerc-rates
2 participants