Removed redundant if statement

This commit is contained in:
Jesús Ángel González 2018-04-17 13:04:07 +02:00 committed by Javier Castro
parent 65ed3fb562
commit cfab7d019d

View File

@ -275,8 +275,6 @@ class WazuhElastic {
bulk_content["type"] = element._type; bulk_content["type"] = element._type;
bulk_content.visualization.description = timestamp; bulk_content.visualization.description = timestamp;
if(clusterName && element._source.title.toLowerCase().includes('agents status')){
}
body += JSON.stringify(bulk_content) + "\n"; body += JSON.stringify(bulk_content) + "\n";
} }
return body; return body;