Skip to content

Commit b50b1cb

Browse files
committed
address review comment
1 parent ce08c33 commit b50b1cb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

topologytest/peer_test.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,7 @@ func (p Peers) SortedPeers() iter.Seq2[string, Peer] {
129129

130130
// peerIsServerSide returns true if the peer is a Couchbase Server or Sync Gateway peer.
131131
func peerIsServerSide(p Peer) bool {
132-
if p.Type() == PeerTypeCouchbaseServer || p.Type() == PeerTypeSyncGateway {
133-
return true
134-
}
135-
return false
132+
return p.Type() == PeerTypeCouchbaseServer || p.Type() == PeerTypeSyncGateway
136133
}
137134

138135
// conflictNotExpectedOnCBL will return true if no conflict is expected for delete and resurrect operations for

0 commit comments

Comments
 (0)