mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21:48:21 +00:00
BrokerStore<->Zeek table: adopt to recent Zeek API changes
This commit is contained in:
parent
e1a45d33e0
commit
41dd7df69a
6 changed files with 20 additions and 21 deletions
|
@ -620,7 +620,7 @@ void Attributes::CheckAttr(Attr* a)
|
|||
}
|
||||
|
||||
// Temporary since Broker does not support ListVals - and we cannot easily convert to set/vector
|
||||
if ( type->AsTableType()->IndexTypes().size() != 1 )
|
||||
if ( type->AsTableType()->GetIndexTypes().size() != 1 )
|
||||
{
|
||||
Error("&backend only supports one-element set/table indexes");
|
||||
}
|
||||
|
@ -655,7 +655,7 @@ void Attributes::CheckAttr(Attr* a)
|
|||
}
|
||||
|
||||
// Temporary since Broker does not support ListVals - and we cannot easily convert to set/vector
|
||||
if ( type->AsTableType()->IndexTypes().size() != 1 )
|
||||
if ( type->AsTableType()->GetIndexTypes().size() != 1 )
|
||||
{
|
||||
Error("&broker_store only supports one-element set/table indexes");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue