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

/dumpstate: Support Postgres and add more error checking #42

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

synackd
Copy link
Collaborator

@synackd synackd commented Aug 5, 2024

Introduces one of multiple fixes for #20 .

Support using the PostgreSQL backend in DumpstateGet() (the function called for the /dumpstate endpoint instead of assuming that EtcD is being used. This fixes a panic occurring when querying the endpoint when Postgres is enabled. This PR also improves upon some of the error messages being reported for this endpoint.

Copy link
Contributor

@davidallendj davidallendj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@synackd synackd merged commit ffdc996 into OpenCHAMI:main Aug 6, 2024
1 check passed
@synackd synackd deleted the fix-dumpstate branch August 6, 2024 00:33
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.

2 participants