kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 612ed6dcfce38754af10bcc2242b3a6c55ce0e8eac64f4ed812168a50db35f72 |
|---|---|
| Author | Dave Brosius <dbrosius@mebigfatguy.com> · 2014-08-21 17:57 -04:00 |
| Committer | Dave Brosius <dbrosius@mebigfatguy.com> · 2014-08-21 17:57 -04:00 |
| Parents | 76c67053a9e3 |
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 |