Force to update the agent cache when an agent is created by server
Former-commit-id: 0c00b9b2157e749bb33750a0715e16e91b02003c
This commit is contained in:
parent
7e40392740
commit
32f665c761
|
@ -3060,7 +3060,8 @@ sub pandora_create_agent ($$$$$$$$$$;$$$$$$$$$) {
|
|||
'custom_id' => $custom_id,
|
||||
'url_address' => $url_address,
|
||||
'timezone_offset' => $timezone_offset,
|
||||
'alias' => $alias
|
||||
'alias' => $alias,
|
||||
'update_module_count' => 1, # Force to replicate in metaconsole
|
||||
});
|
||||
|
||||
my $agent_id = db_insert ($dbh, 'id_agente', "INSERT INTO tagente $columns", @{$values});
|
||||
|
|
Loading…
Reference in New Issue