Merge pull request #680 from moqi-ai/master

fix the tool for change replication factor
This commit is contained in:
Chris Lu authored and GitHub committed 2018-07-09 22:36:53 -07:00
commit 3db6182181
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)