From a4407315df07fa613282533c647a529e311bd06f Mon Sep 17 00:00:00 2001 From: Andrea Selva Date: Mon, 8 Nov 2021 09:02:49 +0100 Subject: [PATCH] Fixed typo in stats_event_factory_spec Co-authored-by: Ry Biesemeyer --- .../spec/monitoring/inputs/metrics/stats_event_factory_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/spec/monitoring/inputs/metrics/stats_event_factory_spec.rb b/x-pack/spec/monitoring/inputs/metrics/stats_event_factory_spec.rb index cb5ebd934dd..35b6ddb19ed 100644 --- a/x-pack/spec/monitoring/inputs/metrics/stats_event_factory_spec.rb +++ b/x-pack/spec/monitoring/inputs/metrics/stats_event_factory_spec.rb @@ -17,7 +17,7 @@ global_stats = {"uuid" => "00001" } sut = described_class.new(global_stats, collector.snapshot_metric, nil) LogStash::SETTINGS.set_value("monitoring.enabled", false) - LogStash::SETTINGS.set_value("api.4enabled", webserver_enabled) + LogStash::SETTINGS.set_value("api.enabled", webserver_enabled) monitoring_evt = sut.make(agent, true) json = JSON.parse(monitoring_evt.to_json)