From 89e15fc438247498890c41cd0e9abf4a62dca952 Mon Sep 17 00:00:00 2001 From: yuzuki999 Date: Mon, 24 Jul 2023 17:36:11 +0800 Subject: [PATCH] fix bug for selector --- core/selector.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/selector.go b/core/selector.go index 997be8a..4c415e8 100644 --- a/core/selector.go +++ b/core/selector.go @@ -49,6 +49,7 @@ func (s *Selector) AddNode(tag string, info *panel.NodeInfo, config *conf.Contro return err } s.nodes.Store(tag, i) + return nil } return errors.New("the node type is not support") }