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 committed May 28, 2018
1 parent 5acc901 commit 62cbaf0
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, 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, 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 62cbaf0

Please sign in to comment.