Skip to content

fix: Fixed typo ParserError #1570

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

Closed
wants to merge 1 commit into from
Closed

Conversation

dploeger
Copy link

Summary

After running into a duplicate config entry I found that this line uses the wrong class to notify about the parser error

Additional Context

Reproduce: Put a config entry twice into the postgresql conf and try to manage it using this module. => Leads to:

Postgresql::Server::Config_entry[max_wal_size]/Postgresql_conf[max_wal_size]: Could not evaluate: uninitialized constant ParserError
Did you mean?  ParseError

I didn't run the tests as I just wanted to correct this simple thing. I can do a full checkout and test them if you'd like.

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

@bastelfreak
Copy link
Collaborator

similar to #1540

alexjfisher
alexjfisher previously approved these changes Jan 17, 2024
alexjfisher

This comment was marked as duplicate.

@alexjfisher alexjfisher self-requested a review January 17, 2024 14:23
@alexjfisher alexjfisher dismissed their stale review January 17, 2024 14:23

Maybe better to progress #1540 and close this PR?

@ekohl
Copy link
Collaborator

ekohl commented Apr 26, 2024

We merged #1540

@ekohl ekohl closed this Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants