mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 07:59:24 +08:00
go fmt and fix some typo
This commit is contained in:
@@ -31,7 +31,7 @@ func ReplicatedWrite(masterNode string, s *storage.Store,
|
||||
size = ret
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
needToReplicate = needToReplicate || s.GetVolume(volumeId).NeedToReplicate()
|
||||
if !needToReplicate {
|
||||
needToReplicate = s.GetVolume(volumeId).NeedToReplicate()
|
||||
|
Reference in New Issue
Block a user