mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-07 04:27:49 +01:00
fix the tool for change replication factor
This commit is contained in:
1 parent
50d351944f
commit
940b5edcaa
1 file changed
+1
-1
@@ -87,7 +87,7 @@ func main() {
|
||||
|
||||
if hasChange {
|
||||
|
||||
header = superBlock.Bytes()
|
||||
header := superBlock.Bytes()
|
||||
|
||||
if n, e := datFile.WriteAt(header, 0); n == 0 || e != nil {
|
||||
glog.Fatalf("cannot write super block: %v", e)
|
||||
|
||||
Reference in new issue
Block a user