aboutsummaryrefslogtreecommitdiff
path: root/weed/mount/dirty_pages_chunked.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/mount/dirty_pages_chunked.go')
-rw-r--r--weed/mount/dirty_pages_chunked.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/weed/mount/dirty_pages_chunked.go b/weed/mount/dirty_pages_chunked.go
index 25b071e7d..76a3be1be 100644
--- a/weed/mount/dirty_pages_chunked.go
+++ b/weed/mount/dirty_pages_chunked.go
@@ -2,12 +2,11 @@ package mount
import (
"fmt"
- "io"
- "sync"
-
"github.com/seaweedfs/seaweedfs/weed/glog"
"github.com/seaweedfs/seaweedfs/weed/mount/page_writer"
"github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"
+ "io"
+ "sync"
)
type ChunkedDirtyPages struct {
@@ -83,7 +82,7 @@ func (pages *ChunkedDirtyPages) saveChunkedFileIntervalToStorage(reader io.Reade
}
-func (pages *ChunkedDirtyPages) Destroy() {
+func (pages ChunkedDirtyPages) Destroy() {
pages.uploadPipeline.Shutdown()
}