Skip to content
This repository was archived by the owner on Oct 18, 2021. It is now read-only.

Commit 5a04f48

Browse files
author
Saghm Rossi
committed
move return to correct place according to spec
1 parent c438366 commit 5a04f48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/topology/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,13 +645,13 @@ impl TopologyDescription {
645645

646646
if self.set_name != description.set_name {
647647
self.servers.remove(&host);
648-
return;
649648
}
650649

651650
if let Some(me) = description.me {
652651
if host != me {
653652
self.servers.remove(&host);
654653
}
654+
return;
655655
}
656656

657657
self.check_if_has_primary();

0 commit comments

Comments
 (0)