mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-24 11:09:12 +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:
parent
3901f2da4d
commit
5f993a5f20
@ -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,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user