Commit 67deac5
Pass
By passing a `Retry` object to `urlopen` instead of just `False`, it prevents `urllib3` from having to create a Retry object with `from_int`. `from_int` emits an undesirable log message when called with `retries=False`, and this can be avoided by the method described above.Retry object to urllib3 instead of False (elastic#827)1 parent bc4af21 commit 67deac5
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
168 | 169 | | |
169 | 170 | | |
170 | 171 | | |
171 | | - | |
| 172 | + | |
172 | 173 | | |
173 | 174 | | |
174 | 175 | | |
| |||
0 commit comments