mirror of
https://github.com/Cacti/cacti.git
synced 2026-11-22 20:53:39 +09:00
Fixing dsv_log usage (#4462)
This commit is contained in:
1 parent
867e181573
commit
ccdfe6ac3b
1 file changed
+1
-1
+1
-1
@@ -1736,7 +1736,7 @@ function test_data_sources($graph_template_id, $host_id, $snmp_query_id = 0, $sn
|
||||
|
||||
if (cacti_sizeof($data_template_ids) && $test_source == 'on') {
|
||||
foreach($data_template_ids as $dt) {
|
||||
dsv_log("test_data_source($dt, $host_id, $snmp_query_id, $snmp_index, " . json_encode($values) . ")");
|
||||
dsv_log("test_data_source", [ 'dt' => $dt, 'host_id' => $host_id, 'snmp_query_id' => $snmp_query_id, 'snmp_index' => $snmp_index, 'values' => $values]);
|
||||
if (!test_data_source($dt, $host_id, $snmp_query_id, $snmp_index, $values)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user