mirror of
https://github.com/elastic/logstash.git
synced 2025-06-28 17:53:28 -04:00
do not call agent.converge_state_and_update before agent.execute
This commit is contained in:
parent
12e7ab9d81
commit
454a856df8
2 changed files with 14 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue