puppetlabs / puppetlabs-splunk_hec

Apache License 2.0
9 stars 25 forks source link

(PIE-1364) Rescued facts bug fix #210

Closed coreymbe closed 10 months ago

coreymbe commented 11 months ago

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

Checklist

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