Browse Source

revert

pull/2117/head^2
ychao_1983 3 years ago
parent
commit
8452767b9f
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      modules/cloudbrain/cloudbrain.go

+ 2
- 4
modules/cloudbrain/cloudbrain.go View File

@@ -1,12 +1,10 @@
package cloudbrain

import (
"code.gitea.io/gitea/modules/timeutil"
"encoding/json"
"errors"
"strconv"
"strings"

"code.gitea.io/gitea/modules/timeutil"

"code.gitea.io/gitea/modules/storage"

@@ -190,7 +188,7 @@ func AdminOrImageCreaterRight(ctx *context.Context) {


func GenerateTask(ctx *context.Context, displayJobName, jobName, image, command, uuid, codePath, modelPath, benchmarkPath, snn4imagenetPath, brainScorePath, jobType, gpuQueue, description, branchName, bootFile, params string, benchmarkTypeID, benchmarkChildTypeID, resourceSpecId int) error {
image = strings.TrimSpace(image)
dataActualPath := setting.Attachment.Minio.RealPath +
setting.Attachment.Minio.Bucket + "/" +
setting.Attachment.Minio.BasePath +


Loading…
Cancel
Save