add condition to check if agent interval token should be updated in massive operations based on previous result
This commit is contained in:
parent
eb831dbbcd
commit
95254341ce
|
@ -199,7 +199,7 @@ if ($update_agents) {
|
|||
}
|
||||
|
||||
// Update the configuration files.
|
||||
if ($old_interval_value != $values['intervalo']) {
|
||||
if ($result && ($old_interval_value != $values['intervalo'])) {
|
||||
enterprise_hook(
|
||||
'config_agents_update_config_token',
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue