Skip to content

Commit

Permalink
fix connection param user databasename not take effect.
Browse files Browse the repository at this point in the history
Signed-off-by: “yelusion” <[email protected]>
  • Loading branch information
yelusion2 committed Oct 25, 2023
1 parent fba8b7b commit d7adbb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/milvus/param/ConnectParam.java
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ protected void verify() throws ParamException {
this.secure = result.isSecure();
this.host = result.getHostname();
this.port = result.getPort();
this.databaseName = result.getDatabase();
this.databaseName = StringUtils.isNotEmpty(result.getDatabase()) ? result.getDatabase() : this.databaseName;
}

if(host.startsWith(HOST_HTTPS_PREFIX)){
Expand Down

0 comments on commit d7adbb8

Please sign in to comment.