-
Notifications
You must be signed in to change notification settings - Fork 476
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue of connecting to influxdb without username/password on okht…
…tp 4.x.x (#644) * Fix issue of connecting InfluxDB without username / password in OkHttp 4+ Add BasicAuthInterceptor to OkHttpClient.Builder only when username and password are not nul * Use InfluxDB instead of InfluxDBImpl * Fix import style and remove redundant casting * Add test case to cover the condition check for adding BasicAuthInterceptor into OkHttp client * Remove the condition check for adding BasicAuthInterceptor in the internal constructor used by test.
- Loading branch information
Showing
4 changed files
with
24 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters