mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 09:27:56 +08:00
go fmt
This commit is contained in:
@@ -119,7 +119,7 @@ func iterateEcxFile(baseFileName string, processNeedleFn func(key types.NeedleId
|
||||
}
|
||||
|
||||
func iterateEcjFile(baseFileName string, processNeedleFn func(key types.NeedleId) error) error {
|
||||
if !util.FileExists(baseFileName+".ecj") {
|
||||
if !util.FileExists(baseFileName + ".ecj") {
|
||||
return nil
|
||||
}
|
||||
ecjFile, openErr := os.OpenFile(baseFileName+".ecj", os.O_RDONLY, 0644)
|
||||
|
@@ -24,8 +24,8 @@ func TestPositioning(t *testing.T) {
|
||||
|
||||
tests := []struct {
|
||||
needleId string
|
||||
offset int64
|
||||
size int
|
||||
offset int64
|
||||
size int
|
||||
}{
|
||||
{needleId: "0f0edb92", offset: 31300679656, size: 1167},
|
||||
{needleId: "0ef7d7f8", offset: 11513014944, size: 66044},
|
||||
|
Reference in New Issue
Block a user