up
This commit is contained in:
parent
ef118a49ff
commit
68c78249d5
|
@ -119,6 +119,9 @@ func (h *Hub) getItemInfo(path string) (itemFileInfo, bool, error) {
|
||||||
} else if ret.stage == WAAP_RULES {
|
} else if ret.stage == WAAP_RULES {
|
||||||
ret.ftype = WAAP_RULES
|
ret.ftype = WAAP_RULES
|
||||||
ret.stage = ""
|
ret.stage = ""
|
||||||
|
} else if ret.stage == WAAP_CONFIGS {
|
||||||
|
ret.ftype = WAAP_CONFIGS
|
||||||
|
ret.stage = ""
|
||||||
} else if ret.ftype != PARSERS && ret.ftype != POSTOVERFLOWS {
|
} else if ret.ftype != PARSERS && ret.ftype != POSTOVERFLOWS {
|
||||||
// its a PARSER / PARSER_OVFLW with a stage
|
// its a PARSER / PARSER_OVFLW with a stage
|
||||||
return itemFileInfo{}, inhub, fmt.Errorf("unknown configuration type for file '%s'", path)
|
return itemFileInfo{}, inhub, fmt.Errorf("unknown configuration type for file '%s'", path)
|
||||||
|
|
Loading…
Reference in a new issue