From a598b595bc9a0696959e6e1e52511ff8f5b7429d Mon Sep 17 00:00:00 2001 From: r-dilip Date: Wed, 21 Aug 2019 13:35:21 -0700 Subject: [PATCH] Return MultiEventStream.new instead of empty array --- source/code/plugin/filter_cadvisor_health_node.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/code/plugin/filter_cadvisor_health_node.rb b/source/code/plugin/filter_cadvisor_health_node.rb index ce57c2c62..faa574993 100644 --- a/source/code/plugin/filter_cadvisor_health_node.rb +++ b/source/code/plugin/filter_cadvisor_health_node.rb @@ -75,7 +75,7 @@ def start def filter_stream(tag, es) if !@@cluster_health_model_enabled @log.info "Cluster Health Model disabled in filter_cadvisor_health_node" - return [] + return MultiEventStream.new end new_es = MultiEventStream.new #HealthMonitorUtils.refresh_kubernetes_api_data(@log, @hostName)