Commit 27443b8
committed
clickhouse-http-client: fix getLocalhost to return the first address
As written the break doesn't apply to the outer loop so it's not the
first address that's returned, rather the last one.1 parent 28f8baf commit 27443b8
File tree
1 file changed
+2
-1
lines changed- clickhouse-http-client/src/main/java/com/clickhouse/client/http
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
58 | | - | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
0 commit comments