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") }