We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 160d3a3 commit 5d0a1ccCopy full SHA for 5d0a1cc
repo.go
@@ -168,6 +168,10 @@ func (repo *Repo) PurgeCloud() (ret *entity.PurgeStat, err error) {
168
objIDs := map[string]bool{}
169
for objPath, _ := range objInfos {
170
objID := strings.ReplaceAll(objPath, "/", "")
171
+ if "" == objID {
172
+ logging.LogWarnf("got empty object ID [path=%s]", objPath)
173
+ continue
174
+ }
175
objIDs[objID] = true
176
}
177
0 commit comments