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

NAS-130694 / 24.10-RC.1 / Handle potential case when tos can be null (by sonicaj) #14485

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

bugclerk
Copy link
Contributor

This commit fixes a case where tos can be null which we get from an ACME provider. In the database we keep it as an empty string because this needs to go through the libraries we are using to generate an ACME certificate which can/cannot error out and unfortunately we don't have an ACME provider atm which gives a null tos to test a null case. Keeping it as an empty string in that case in database if tos received is null.

Original PR: #14484
Jira URL: https://ixsystems.atlassian.net/browse/NAS-130694

This commit fixes a case where tos can be null which we get from an ACME provider. In the database we keep it as an empty string because this needs to go through the libraries we are using to generate an ACME certificate which can/cannot error out and unfortunately we don't have an ACME provider atm which gives a null tos to test a null case. Keeping it as an empty string in that case in database if tos received is null.

(cherry picked from commit cc3da97)
@yocalebo yocalebo merged commit f1fca53 into stable/electriceel Sep 10, 2024
1 of 2 checks passed
@yocalebo yocalebo deleted the NAS-130694-24.10-RC.1 branch September 10, 2024 19:26
@bugclerk
Copy link
Contributor Author

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Sep 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants