Skip to content

Commit

Permalink
Fixed typo in stats_event_factory_spec
Browse files Browse the repository at this point in the history
Co-authored-by: Ry Biesemeyer <yaauie@users.noreply.github.com>
  • Loading branch information
andsel and yaauie committed Nov 8, 2021
1 parent b6b92da commit a440731
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a440731

Please sign in to comment.