Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.21.12.1^2
zouap 4 years ago
parent
commit
13e3634f22
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/storage/obs.go

+ 1
- 1
modules/storage/obs.go View File

@@ -286,7 +286,7 @@ func GetAllObsListObjectUnderDir(bucket string, prefix string) ([]FileInfo, erro
input.Prefix = prefix
output, err := ObsCli.ListObjects(input)
fileInfos := make([]FileInfo, 0)
prefixLen := len(prefix) + 1
prefixLen := len(prefix)
if err == nil {
for _, val := range output.Contents {
var isDir bool


Loading…
Cancel
Save