Skip to content

Commit

Permalink
fix: local document (#853)
Browse files Browse the repository at this point in the history
  • Loading branch information
masaimu authored May 22, 2024
1 parent bdf1125 commit 3370b6d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ public void refresh() {
String database = (String) ceresdbConfig.get("database");
Object portObj = ceresdbConfig.get("port");
int port = Double.valueOf(String.valueOf(portObj)).intValue();
String newConfigKey = configKey(fixAddress(address), port, accessUser, accessKey);
address = fixAddress(address);
String newConfigKey = configKey(address, port, accessUser, accessKey);
CeresDBxClientInstance clientInstance = instances.get(tenant);
if (clientInstance == null
|| !StringUtils.equals(clientInstance.getConfigKey(), newConfigKey)) {
Expand Down

0 comments on commit 3370b6d

Please sign in to comment.