Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Revert previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronRM committed Apr 5, 2024
1 parent cc594fb commit ca70e2b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions source/code/plugins/omi_lib.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ def lookup_class_name(class_name, mappings)
def transform(records, collected_counters, host, time)
if records.to_s == ''
# nil or empty, return empty record
@log.info "Received empty record set from OMI."
return {}
end

Expand All @@ -66,7 +65,6 @@ def transform(records, collected_counters, host, time)

data_items = []

@log.info "Received #{records_hash.size} records from OMI."
records_hash.each { |record|
# get the specific class mapping
specific_mapping = lookup_class_name(record["ClassName"], @counter_mapping)
Expand Down

0 comments on commit ca70e2b

Please sign in to comment.