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

Remove extra line causing errors: "Started a new thread for the timer service" #681

Merged
merged 1 commit into from
Nov 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
json extra line causeing errors in mongo
  • Loading branch information
Michiel Brandenburg committed Sep 12, 2023
commit 28fc480c1bbd4606f3fa42d660750f67a0e0b616
1 change: 1 addition & 0 deletions lib/puppet/util/mongodb_output.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def self.sanitize(data)
data.gsub!(%r{^Error:.+}, '')
data.gsub!(%r{^.*warning:.+}, '') # remove warnings if sslAllowInvalidHostnames is true
data.gsub!(%r{^.*The server certificate does not match the host name.+}, '') # remove warnings if sslAllowInvalidHostnames is true mongo 3.x
data.gsub!(%r{^.*Started a new thread for the timer service.+}, '') # Started a new thread for the timer service mongo 5.x (SERVER-78540)
data
end
end
Expand Down