Skip to content

Commit

Permalink
Fix a bug that can not list files with same name correctly (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
lylex committed Dec 27, 2018
1 parent f968dc5 commit f41f0d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/blobs/blobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ func GetAll() ([]*Blob, error) {
if bg.Count == 0 {
continue
}
for _, b := range bg.Blobs {
blobs = append(blobs, &b)
for i := range bg.Blobs {
blobs = append(blobs, &bg.Blobs[i])
}
}

Expand Down

0 comments on commit f41f0d7

Please sign in to comment.