Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: yisaer <disxiaofei@163.com>
  • Loading branch information
Yisaer committed Dec 26, 2023
1 parent f9e20b9 commit 84a1efc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/topo/node/source_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func getSourceInstance(node *SourceNode, index int) (*sourceInstance, error) {
if err != nil {
return nil, err
}
s.attachSchema(node.ctx.GetRuleId(), node.options.Schema)
//s.attachSchema(node.ctx.GetRuleId(), node.options.Schema)
si = &sourceInstance{
source: s.source,
ctx: s.ctx,
Expand Down Expand Up @@ -187,7 +187,7 @@ func (p *sourcePool) deleteInstance(k string, node *SourceNode, index int) {

instanceKey := fmt.Sprintf("%s.%s.%d", k, node.ctx.GetRuleId(), index)
end := s.detach(instanceKey)
s.detachSchema(s.ctx.GetRuleId())
//s.detachSchema(s.ctx.GetRuleId())
if end {
s.cancel()

Expand Down

0 comments on commit 84a1efc

Please sign in to comment.