Skip to content

Commit ce53a59

Browse files
dujietiezhu
authored andcommitted
[hotfix-6279][redis] resolve zset's score type convent error
1 parent 437d900 commit ce53a59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flinkx-connectors/flinkx-connector-redis/src/main/java/com/dtstack/flinkx/connector/redis/sink/RedisOutputFormatBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public void setRedisConf(RedisConf redisConf) {
4949
protected void checkFormat() {
5050
RedisConf redisConf = format.getRedisConf();
5151
StringBuilder sb = new StringBuilder(1024);
52-
if (redisConf.getHostPort() == null) {
52+
if (StringUtils.isBlank(redisConf.getHostPort())) {
5353
sb.append("No host and port supplied").append("\n");
5454
}
5555
if (redisConf.getType() == null) {

0 commit comments

Comments
 (0)