kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | c6839ceb058a2357124fc2e7ad5398e44c399da739b1ef2c7ec3cdcaf07546e4 |
|---|---|
| Author | Olivier Michallat <olim7t@users.noreply.github.com> · 2014-08-25 17:50 +02:00 |
| Committer | Olivier Michallat <olim7t@users.noreply.github.com> · 2014-08-25 17:50 +02:00 |
| Parents | d9e4ebc0f599, 612ed6dcfce3 |
1 file changed
modified driver-core/src/main/java/com/datastax/driver/core/policies/WhiteListPolicy.java +1 −1
| @@ -127,7 +127,7 @@ | ||
| 127 | 127 | |
| 128 | 128 | @Override |
| 129 | 129 | public void onSuspected(Host host) { |
| 130 | - if (whiteList.contains(host.getAddress())) | |
| 130 | + if (whiteList.contains(host.getSocketAddress())) | |
| 131 | 131 | childPolicy.onSuspected(host); |
| 132 | 132 | } |
| 133 | 133 |