mirror of
https://github.com/minio/minio.git
synced 2026-02-05 02:10:14 -05:00
run gofumpt cleanup across code-base (#14015)
This commit is contained in:
@@ -1008,7 +1008,7 @@ func _testListObjects(obj ObjectLayer, instanceType string, t1 TestErrHandler, v
|
||||
}
|
||||
|
||||
func objInfoNames(o []ObjectInfo) []string {
|
||||
var res = make([]string, len(o))
|
||||
res := make([]string, len(o))
|
||||
for i := range o {
|
||||
res[i] = o[i].Name
|
||||
}
|
||||
@@ -1830,7 +1830,7 @@ func testListObjectsContinuation(obj ObjectLayer, instanceType string, t1 TestEr
|
||||
t.Run(fmt.Sprintf("%s-Test%d", instanceType, i+1), func(t *testing.T) {
|
||||
var foundObjects []ObjectInfo
|
||||
var foundPrefixes []string
|
||||
var marker = ""
|
||||
marker := ""
|
||||
for {
|
||||
result, err := obj.ListObjects(context.Background(), testCase.bucketName,
|
||||
testCase.prefix, marker, testCase.delimiter, testCase.page)
|
||||
|
||||
Reference in New Issue
Block a user