Skip to content

Commit

Permalink
Fix operator
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 58447cb commit 5acc901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/services/resolves/check-ram.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default async (genericReq, errorHandler) => {
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);
} else if(totalRAM < 2048) {
} else if(totalRAM <= 2048) {
errorHandler.handle(`The machine where Kibana is being executed has ${totalRAM}MB of RAM, please increase it.`, 'RAM');
}
} catch (error){
Expand Down

0 comments on commit 5acc901

Please sign in to comment.