From f3549d68cb3b57712cabb25109e1a0f3cd433124 Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Sat, 27 Jul 2019 15:02:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/repositories_controller.rb | 2 +- lib/trustie/che/che.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb index 9eaa4d03f..8980ba1e6 100644 --- a/app/controllers/repositories_controller.rb +++ b/app/controllers/repositories_controller.rb @@ -489,7 +489,7 @@ update def che_request begin - work_space_id = Trustie::Che.che_request() + work_space_id = Trustie::Che.che_send() rescue Exception => e raise(e.backtrace.join("\n")) end diff --git a/lib/trustie/che/che.rb b/lib/trustie/che/che.rb index 73a1e99ac..d3f4d7a10 100644 --- a/lib/trustie/che/che.rb +++ b/lib/trustie/che/che.rb @@ -5,7 +5,7 @@ require 'uri' module Trustie module Che - def self.che_request() + def self.che_send() begin Rails.logger.info("####################che send start") o = send_to_che()