We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce08c33 commit b50b1cbCopy full SHA for b50b1cb
topologytest/peer_test.go
@@ -129,10 +129,7 @@ func (p Peers) SortedPeers() iter.Seq2[string, Peer] {
129
130
// peerIsServerSide returns true if the peer is a Couchbase Server or Sync Gateway peer.
131
func peerIsServerSide(p Peer) bool {
132
- if p.Type() == PeerTypeCouchbaseServer || p.Type() == PeerTypeSyncGateway {
133
- return true
134
- }
135
- return false
+ return p.Type() == PeerTypeCouchbaseServer || p.Type() == PeerTypeSyncGateway
136
}
137
138
// conflictNotExpectedOnCBL will return true if no conflict is expected for delete and resurrect operations for
0 commit comments