mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-22 14:04:28 +02:00
go fmt
This commit is contained in:
1 parent
bf270d9e8c
commit
dcc6b6a3ed
4 files changed
+30
-19
No files matched your search
@@ -213,7 +213,7 @@ func satisfyReplicaPlacement(replicaPlacement *super_block.ReplicaPlacement, exi
|
||||
// now this is one of the primary dcs
|
||||
existingRacks := make(map[string]int)
|
||||
for _, loc := range existingLocations {
|
||||
if loc.DataCenter()!=possibleLocation.DataCenter() {
|
||||
if loc.DataCenter() != possibleLocation.DataCenter() {
|
||||
continue
|
||||
}
|
||||
existingRacks[loc.Rack()] += 1
|
||||
|
||||
Reference in new issue
Block a user