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

(PIE-1364) Rescued facts bug fix #210

Merged
merged 1 commit into from Jan 3, 2024

Conversation

coreymbe
Copy link
Contributor

Summary

This commit resolves a bug in fact collection where the following warning is falsely logged:

2023-07-11T19:16:48.368Z WARN  [qtp255490452-712] [puppetserver] Puppet Rescued required facts - Please remove the following facts from splunk_hec::facts_blocklist: []

This is a result of rescued_facts checking for a nil value as opposed to an empty array.

Detailed Description

  • Updated CHANGELOG.md
  • Updated lib/puppet/indirector/facts/splunk_hec.rb to check for an empty array.

Checklist

[X] PR title is "(Ticket|Maint) Short Description"
[X] Commit title matches PR title

@coreymbe coreymbe requested a review from a team as a code owner December 21, 2023 22:54
Copy link
Contributor

@actowery actowery left a comment

Choose a reason for hiding this comment

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

lgtm!

@actowery actowery self-requested a review January 3, 2024 19:25
Copy link
Contributor

@actowery actowery left a comment

Choose a reason for hiding this comment

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

lgtm

@actowery actowery merged commit 3ca7a4e into puppetlabs:main Jan 3, 2024
23 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.

None yet

2 participants