make message better

This commit is contained in:
Thibault "bui" Koechlin 2020-05-27 16:31:08 +02:00 committed by Farica
parent c03235ed64
commit 1abdfc9b10
14 changed files with 265 additions and 97 deletions

View file

@ -53,7 +53,8 @@ type Node struct {
//Statics can be present in any type of node and is executed last
Statics []types.ExtraField `yaml:"statics,omitempty"`
//Whitelists
Whitelist types.Whitelist `yaml:"whitelist,omitempty"`
Whitelist types.Whitelist `yaml:"whitelist,omitempty"`
Data []*types.DataSource `yaml:"data,omitempty"`
}
func (n *Node) validate(pctx *UnixParserCtx) error {