From dca0c5b9fa8254061d9c5529991b1940d0e16cf0 Mon Sep 17 00:00:00 2001 From: lewis <747342561@qq.com> Date: Thu, 23 Jun 2022 17:36:13 +0800 Subject: [PATCH] debug --- routers/repo/grampus.go | 2 +- templates/user/dashboard/cloudbrains.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 templates/user/dashboard/cloudbrains.tmpl diff --git a/routers/repo/grampus.go b/routers/repo/grampus.go index c69654c81..2c3d76a09 100755 --- a/routers/repo/grampus.go +++ b/routers/repo/grampus.go @@ -649,7 +649,7 @@ func generateCommand(repoName, processorType, codeRemotePath, dataRemotePath, bo } } - commandCode := "cd /cache/code/" + strings.ToLower(repoName) + ";/usr/bin/python3 " + bootFile + paramCode + ";" + commandCode := "cd /cache/code/" + strings.ToLower(repoName) + ";python " + bootFile + paramCode + ";" command += commandCode //get exec result diff --git a/templates/user/dashboard/cloudbrains.tmpl b/templates/user/dashboard/cloudbrains.tmpl old mode 100644 new mode 100755 index 3c16bad04..81dd0dbae --- a/templates/user/dashboard/cloudbrains.tmpl +++ b/templates/user/dashboard/cloudbrains.tmpl @@ -94,7 +94,7 @@ {{else if eq .JobType "TRAIN"}} {{.DisplayJobName}}