From eb61f98246cec94524fbf0be8fe1300e43934212 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Wed, 26 Jun 2019 18:33:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E8=AE=AD=E9=85=8D=E7=BD=AE=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E7=BB=9F=E4=B8=80=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index cc93b840..2bfc127d 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -277,7 +277,7 @@ module ApplicationHelper :cpuLimit => config.cpu_limit, :cpuRequest => config.lower_cpu_limit, :memoryLimit => "#{config.memory_limit}M", - :memoryRequest => "#{config.request_limit}", + :memoryRequest => "#{config.request_limit}M", :resourceLimit => "#{config.resource_limit}K", :type => mirror.try(:main_type) == "1" ? "main" : "sub"} end