diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-04-05 00:52:31 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-04-05 00:52:31 -0700 |
| commit | dcc6b6a3edc14688060d148d8096c50a22bf1452 (patch) | |
| tree | f26d96fe7f180d590b6a4131bc45d123c89230d1 /weed/shell/command_volume_fix_replication.go | |
| parent | bf270d9e8c01052409464193b693d50fa09a70a9 (diff) | |
| download | seaweedfs-dcc6b6a3edc14688060d148d8096c50a22bf1452.tar.xz seaweedfs-dcc6b6a3edc14688060d148d8096c50a22bf1452.zip | |
go fmt
Diffstat (limited to 'weed/shell/command_volume_fix_replication.go')
| -rw-r--r-- | weed/shell/command_volume_fix_replication.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_fix_replication.go b/weed/shell/command_volume_fix_replication.go index 4e1a6078b..5bfe1edc9 100644 --- a/weed/shell/command_volume_fix_replication.go +++ b/weed/shell/command_volume_fix_replication.go @@ -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 |
