Switch zeek:🆔:lookup to zeek:🆔:find

For parity with Scope since it now uses Find instead of Lookup
This commit is contained in:
Jon Siwek 2020-05-14 18:00:18 -07:00
parent 7843416e51
commit 4debad8caf
59 changed files with 339 additions and 339 deletions

View file

@ -144,7 +144,7 @@ RuleConditionEval::RuleConditionEval(const char* func)
if ( f->Yield()->Tag() != TYPE_BOOL )
rules_error("eval function type must yield a 'bool'", func);
static auto signature_state = zeek::id::lookup_type<RecordType>("signature_state");
static auto signature_state = zeek::id::find_type<RecordType>("signature_state");
TypeList tl;
tl.Append(signature_state);
tl.Append(base_type(TYPE_STRING));