Elffuss BraidHub

kikocis/java-driver public

Merge pull request #217 from mebigfatguy/2.0

fix typo in whitelist checking for onSuspected
Changesetc6839ceb058a2357124fc2e7ad5398e44c399da739b1ef2c7ec3cdcaf07546e4
AuthorOlivier Michallat <olim7t@users.noreply.github.com> · 2014-08-25 17:50 +02:00
CommitterOlivier Michallat <olim7t@users.noreply.github.com> · 2014-08-25 17:50 +02:00
Parentsd9e4ebc0f599, 612ed6dcfce3

Browse the files at this changeset

1 file changed

modified driver-core/src/main/java/com/datastax/driver/core/policies/WhiteListPolicy.java +1 −1
@@ -127,7 +127,7 @@
127127
128128 @Override
129129 public void onSuspected(Host host) {
130- if (whiteList.contains(host.getAddress()))
130+ if (whiteList.contains(host.getSocketAddress()))
131131 childPolicy.onSuspected(host);
132132 }
133133