Browse Source

增加代码,解决Bug

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.11.2^2
zouap 3 years ago
parent
commit
15b6e7ee3a
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      routers/repo/attachment.go

+ 2
- 1
routers/repo/attachment.go View File

@@ -629,9 +629,10 @@ func GetSuccessChunks(ctx *context.Context) {

isExist := false
if typeCloudBrain == models.TypeCloudBrainOne {

isExist, err = storage.Attachments.HasObject(getCloudOneMinioPrefix(scene, fileChunk))
if isExist {
log.Info("The file is exist in minio. has uploaded.")
log.Info("The file is exist in minio. has uploaded.path=" + getCloudOneMinioPrefix(scene, fileChunk))
} else {
log.Info("The file is not exist in minio..")
}


Loading…
Cancel
Save