diff --git a/router/default.go b/router/default.go index 0e5329c..9f912dd 100644 --- a/router/default.go +++ b/router/default.go @@ -2,7 +2,6 @@ package router import ( - "fmt" "sync" "git.hpds.cc/Component/network/frame" @@ -60,7 +59,11 @@ func (r *defaultRoute) Add(connId string, name string, observeDataTags []frame.T } } if !ok { - return fmt.Errorf("SFN[%s] does not exist in config functions", name) + //return fmt.Errorf("SFN[%s] does not exist in config functions", name) + //item := config.App{ + // Name: name, + //} + r.functions = append(r.functions, name) } //LOOP: