aboutsummaryrefslogtreecommitdiff
path: root/weed/replication
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-12-16 09:14:05 -0800
committerChris Lu <chris.lu@gmail.com>2020-12-16 09:14:05 -0800
commit1bf22c0b5b1ecd99cb1631800e5a6818e8d8d1b1 (patch)
treeeaa221a960e59b1b73b6b76035787a603dd1892c /weed/replication
parent1d88865869b554d72be8fe2629080bcd97cb8767 (diff)
downloadseaweedfs-1bf22c0b5b1ecd99cb1631800e5a6818e8d8d1b1.tar.xz
seaweedfs-1bf22c0b5b1ecd99cb1631800e5a6818e8d8d1b1.zip
go fmt
Diffstat (limited to 'weed/replication')
-rw-r--r--weed/replication/sink/filersink/fetch_write.go2
-rw-r--r--weed/replication/sink/filersink/filer_sink.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/weed/replication/sink/filersink/fetch_write.go b/weed/replication/sink/filersink/fetch_write.go
index bdd2ba585..6b51a7966 100644
--- a/weed/replication/sink/filersink/fetch_write.go
+++ b/weed/replication/sink/filersink/fetch_write.go
@@ -77,7 +77,7 @@ func (fs *FilerSink) fetchAndWrite(sourceChunk *filer_pb.FileChunk, path string)
Collection: fs.collection,
TtlSec: fs.ttlSec,
DataCenter: fs.dataCenter,
- DiskType: fs.diskType,
+ DiskType: fs.diskType,
Path: path,
}
diff --git a/weed/replication/sink/filersink/filer_sink.go b/weed/replication/sink/filersink/filer_sink.go
index 579883d62..a69c9dc8e 100644
--- a/weed/replication/sink/filersink/filer_sink.go
+++ b/weed/replication/sink/filersink/filer_sink.go
@@ -23,7 +23,7 @@ type FilerSink struct {
replication string
collection string
ttlSec int32
- diskType string
+ diskType string
dataCenter string
grpcDialOption grpc.DialOption
}