do not call agent.converge_state_and_update before agent.execute

This commit is contained in:
Colin Surprenant 2020-06-17 17:22:30 -04:00 committed by J.A.R.V.I.S. - an Elastic git bot
parent 12e7ab9d81
commit 454a856df8
2 changed files with 14 additions and 2 deletions

View file

@ -35,7 +35,7 @@ module LogStash module Monitoring
super(xpack_info) if xpack_info
if valid_basic_license?
logger.info("Validated license for monitoring. Enabling monitoring pipeline.")
enable_monitoring()
enable_monitoring
end
end
@ -45,7 +45,7 @@ module LogStash module Monitoring
end
def enable_monitoring
@agent.converge_state_and_update
@agent.converge_state_and_update_if_running
end
def populate_license_state(xpack_info)