From 84ef24f276246fdf3e57c7010a6c7c67a9701c58 Mon Sep 17 00:00:00 2001 From: usmannasir Date: Mon, 5 Feb 2024 12:49:42 +0500 Subject: [PATCH] bug fix: prevent dockerapps to be created by less ram --- websiteFunctions/website.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/websiteFunctions/website.py b/websiteFunctions/website.py index 03ff57cb1..1b0a402c0 100755 --- a/websiteFunctions/website.py +++ b/websiteFunctions/website.py @@ -6888,12 +6888,12 @@ StrictHostKeyChecking no WPpasswd = data['WPpasswd'] if int(MYsqlRam) < 256: - final_dic = {'status': 0, 'error_message': 'Minimum MySQL ram should be 512MB.'} + final_dic = {'status': 0, 'error_message': 'Minimum MySQL ram should be 256MB.'} final_json = json.dumps(final_dic) return HttpResponse(final_json) if int(SiteRam) < 256: - final_dic = {'status': 0, 'error_message': 'Minimum site ram should be 512MB.'} + final_dic = {'status': 0, 'error_message': 'Minimum site ram should be 256MB.'} final_json = json.dumps(final_dic) return HttpResponse(final_json)