mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 13:40:22 +03:00
Use new gofumpt (#21613)
Update tinylib. Should fix CI. `gofumpt -w .&&go generate ./...`
This commit is contained in:
@@ -86,7 +86,7 @@ func getItemCount(k string) (count int, err error) {
|
||||
if len(v) == 2 {
|
||||
return strconv.Atoi(v[0])
|
||||
}
|
||||
return
|
||||
return count, err
|
||||
}
|
||||
|
||||
func parseKey(k string) (key Key) {
|
||||
@@ -102,7 +102,7 @@ func parseKey(k string) (key Key) {
|
||||
key.Extension = "." + vals[1]
|
||||
key.Name = strings.TrimSuffix(key.Name, key.Extension)
|
||||
}
|
||||
return
|
||||
return key
|
||||
}
|
||||
|
||||
// replayItems - Reads the items from the store and replays.
|
||||
|
||||
Reference in New Issue
Block a user