Skip to content

Commit

Permalink
Improve code formatting
Browse files Browse the repository at this point in the history
Co-authored-by: Dmytro Zghoba <[email protected]>
  • Loading branch information
boris-ilijic and defbin authored May 8, 2024
1 parent 0feb2af commit f1b6522
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pbm/topo/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ func IsWriteMajorityRequested(
return true, errors.Wrap(err, "get replset status")
}

return w >= s.WriteMajorityCount,
nil
return w >= s.WriteMajorityCount, nil
}

// ClusterMembers returns list of replicasets current cluster consists of
Expand Down

0 comments on commit f1b6522

Please sign in to comment.