Skip to content

Commit

Permalink
feat: Commit-Edge模式兼容独立集群模式 #2298
Browse files Browse the repository at this point in the history
  • Loading branch information
yaoxuwan authored Jul 11, 2024
1 parent 811fce4 commit 77958fe
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ class CommitEdgeCenterNodeRenameSupport(
return if (isEdgeRequest()) {
where(TNode::clusterNames).ne(SecurityUtils.getClusterName())
} else {
Criteria().orOperator(
where(TNode::clusterNames).exists(false),
where(TNode::clusterNames).ne(listOf(clusterProperties.self.name))
Criteria().andOperator(
where(TNode::clusterNames).ne(listOf(clusterProperties.self.name)),
where(TNode::clusterNames).ne(null)
)
}
}
Expand Down

0 comments on commit 77958fe

Please sign in to comment.