mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 19:08:35 +08:00
解决input类型
This commit is contained in:
@@ -15,7 +15,7 @@ type inputNodeFactory struct{}
|
||||
|
||||
func (f inputNodeFactory) Name() string { return "InputNode" }
|
||||
func (f inputNodeFactory) Category() string { return NODE_CATEGORY_OTHERS }
|
||||
func (f inputNodeFactory) Labels() []string { return []string{} }
|
||||
func (f inputNodeFactory) Labels() []string { return []string{"True"} }
|
||||
func (f inputNodeFactory) Create(id string, meta Metadata) (Node, error) {
|
||||
node := &inputNode{
|
||||
bareNode: newBareNode(InputNodeName, id, meta, f.Labels()),
|
||||
|
||||
Reference in New Issue
Block a user