mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-18 17:29:23 +08:00
Fix ide warning (#4082)
fix warning message from IDE "redundant type from array, slice, or map composite literal"
This commit is contained in:
@@ -57,19 +57,19 @@ func Test_findByPartNumber(t *testing.T) {
|
||||
}
|
||||
|
||||
parts := []CompletedPart{
|
||||
CompletedPart{
|
||||
{
|
||||
ETag: "xxx",
|
||||
PartNumber: 1,
|
||||
},
|
||||
CompletedPart{
|
||||
{
|
||||
ETag: "lll",
|
||||
PartNumber: 1,
|
||||
},
|
||||
CompletedPart{
|
||||
{
|
||||
ETag: "yyy",
|
||||
PartNumber: 3,
|
||||
},
|
||||
CompletedPart{
|
||||
{
|
||||
ETag: "zzz",
|
||||
PartNumber: 5,
|
||||
},
|
||||
|
Reference in New Issue
Block a user