Skip to content

Commit 5c0bca0

Browse files
authored
bug fix (#1593)
1 parent 084d142 commit 5c0bca0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/plugins/ruby/in_kube_podinventory.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ def parse_and_emit_records(podInventory, serviceRecords, continuationToken, batc
408408
if continuationToken.nil? # sending kube services inventory records
409409
kubeServicesEventStream = Fluent::MultiEventStream.new
410410
serviceRecords.each do |kubeServiceRecord|
411-
next unless !KubernetesApiClient.isExcludeResourceItem(kubeServiceRecord["ServiceName"], kubeServiceRecord["namespace"], @namespaceFilteringMode, @namespaces)
411+
next unless !KubernetesApiClient.isExcludeResourceItem(kubeServiceRecord["ServiceName"], kubeServiceRecord["Namespace"], @namespaceFilteringMode, @namespaces)
412412
if !kubeServiceRecord.nil?
413413
# adding before emit to reduce memory foot print
414414
kubeServiceRecord["ClusterId"] = KubernetesApiClient.getClusterId

0 commit comments

Comments
 (0)