aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2023-01-10 00:52:05 -0800
committerchrislu <chris.lu@gmail.com>2023-01-10 00:52:05 -0800
commit9e0d5261633617bfea20d8f7df01598bf91bc0b2 (patch)
treeb93ed4c94fb01c1699cd4e96521242f7cc8acd9f
parent7f49c59c14efaec66966aae7f6721bb85469b902 (diff)
downloadseaweedfs-9e0d5261633617bfea20d8f7df01598bf91bc0b2.tar.xz
seaweedfs-9e0d5261633617bfea20d8f7df01598bf91bc0b2.zip
fix compilation
-rw-r--r--weed/filer/filechunk_section.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/weed/filer/filechunk_section.go b/weed/filer/filechunk_section.go
index c3c5f6510..350cc44d1 100644
--- a/weed/filer/filechunk_section.go
+++ b/weed/filer/filechunk_section.go
@@ -46,7 +46,6 @@ func (section *FileChunkSection) addChunk(chunk *filer_pb.FileChunk) error {
}
func removeGarbageChunks(section *FileChunkSection, garbageFileIds map[string]struct{}) {
- now := time.Now()
for i := 0; i < len(section.chunks); {
t := section.chunks[i]
length := len(section.chunks)