Commit c306d61
committed
Set default local_dc in distance in DCAwareRoundRobinPolicy
If `distance` is called before `on_add/up` then we would end up
with null `local_dc` value if the value wasn't specified in the
constructor.1 parent c381c19 commit c306d61
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
267 | 270 | | |
268 | 271 | | |
269 | 272 | | |
| |||
0 commit comments