Jira (FACT-3174) Facter logging debugonce is O^2

5 views
Skip to first unread message

Josh Cooper (Jira)

unread,
Jan 6, 2023, 3:35:02 PM1/6/23
to puppe...@googlegroups.com
Josh Cooper created an issue
 
Facter / Bug FACT-3174
Facter logging debugonce is O^2
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2023/01/06 12:34 PM
Priority: Normal Normal
Reporter: Josh Cooper

The debugonce method scans an array to see if the message has already been logged. https://github.com/puppetlabs/facter/blob/ffc9febe3e6dad67891e0209782ced0c9fb6040b/lib/facter/framework/logging/logger.rb#L118 It should use a SortedSet instead.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)
Atlassian logo

Morgan Rhodes (Jira)

unread,
Jan 10, 2023, 4:16:01 PM1/10/23
to puppe...@googlegroups.com
Morgan Rhodes updated an issue
Change By: Morgan Rhodes
Team: Phoenix

Morgan Rhodes (Jira)

unread,
Jan 10, 2023, 4:16:03 PM1/10/23
to puppe...@googlegroups.com
Morgan Rhodes updated an issue
Change By: Morgan Rhodes
Epic Link: PUP-11659
Reply all
Reply to author
Forward
0 new messages