Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vernedeng committed Jun 21, 2024
1 parent cf4d1ce commit 0b4efcd
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,7 @@ public Boolean migrateStreamSink(StreamSinkEntity sink, String from, String to)
}

String newName = copyDataNode(dataNodeName, type, from, to);
sink.setDataNodeName(newName);
sink.setSortConsumerGroup(newName);
sink.setSortTaskName(newName);
return sinkMapper.updateByIdSelective(sink) == InlongConstants.AFFECTED_ONE_ROW;
return StringUtils.isNotEmpty(newName);

}

Expand Down

0 comments on commit 0b4efcd

Please sign in to comment.