zabbix-tools/zabbix_agent_bench

Last key omitted if it is a discovery prototype

cavaliercoder opened this issue · 1 comments

If the last key in a key file is a prototype, the parent discovery key and all of its children are omitted from the test.

This is because item discoveries are only executed (main.go:167) if a subsequent normal key is found (main.go:142) in the key file loading loop.