Skip to content

Commit

Permalink
[bugfix]fix the issue of add redis cluster node test error report(#1601
Browse files Browse the repository at this point in the history
…) (#1684)

Co-authored-by: LiuTianyou <641108368@qq.com>
Co-authored-by: tomsun28 <tomsun28@outlook.com>
  • Loading branch information
3 people authored Mar 26, 2024
1 parent 9698877 commit c18becf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,16 @@ public class CacheIdentifier {
private String username;

private String password;

private String customArg;

@Override
public String toString() {
return "CacheIdentifier {" +
"ip='" + ip + '\'' +
", port='" + port + '\'' +
", username+password=>hash='" + Objects.hash(username, password) + '\'' +
", customArg='" + customArg + '\'' +
'}';
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ private CacheIdentifier doIdentifier(RedisProtocol redisProtocol) {
.port(redisProtocol.getPort())
.username(redisProtocol.getUsername())
.password(redisProtocol.getPassword())
.customArg(redisProtocol.getPattern())
.build();
}

Expand Down

0 comments on commit c18becf

Please sign in to comment.