Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesús Ángel González authored and havidarou committed May 31, 2018
1 parent cb2960b commit 6a8d9fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/services/resolves/check-ram.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ export default async (genericReq, errorHandler) => {
const data = await genericReq.request('GET', '/api/wazuh-api/ram');
const totalRAM = data.data.ram
if(totalRAM < 3072 && totalRAM > 2048) {
errorHandler.handle(`The machine where Kibana is being executed has ${totalRAM}MB of RAM, please increase it.`, 'RAM', true);
errorHandler.handle(`Kibana server has ${totalRAM}MB of RAM, performance will suffer. Please increase it.`, 'RAM', true);
} else if(totalRAM <= 2048) {
errorHandler.handle(`The machine where Kibana is being executed has ${totalRAM}MB of RAM, please increase it.`, 'RAM');
errorHandler.handle(`Kibana server has ${totalRAM}MB of RAM, performance will suffer. Please increase it.`, 'RAM');
}
} catch (error){
errorHandler.handle(`The machine where Kibana is being executed has an unknown amount of RAM, please review it.`, 'RAM', true);
errorHandler.handle(`Kibana server has an unknown amount of RAM, please review it.`, 'RAM', true);
}
}

0 comments on commit 6a8d9fd

Please sign in to comment.