Skip to content

Commit 0a0e117

Browse files
authored
fix: trimmed key is not returned (#11)
1 parent ec849b2 commit 0a0e117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oss/huanweiobs/obs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ func (h *HuaweiOBSStorage) List(prefix string) ([]oss.OSSPath, error) {
133133
continue
134134
}
135135
paths = append(paths, oss.OSSPath{
136-
Path: v.Key,
136+
Path: key,
137137
IsDir: func() bool {
138138
return strings.HasSuffix(v.Key, "/")
139139
}(),

0 commit comments

Comments
 (0)