Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.10.1^2
zouap 3 years ago
parent
commit
7a03ab2288
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      routers/api/v1/repo/cloudbrain.go

+ 4
- 0
routers/api/v1/repo/cloudbrain.go View File

@@ -399,7 +399,11 @@ func CloudbrainDownloadLogFile(ctx *context.Context) {
ctx.ServerError("Get minio get SignedUrl failed", err)
return
}
log.Info("fileName=" + fileName)
http.Redirect(ctx.Resp, ctx.Req.Request, url, http.StatusTemporaryRedirect)
} else {
log.Info("fileName is null.")

}
}



Loading…
Cancel
Save