mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 04:28:20 +00:00
Deprecate TableEntryVal::Value(), replace with GetVal()
This commit is contained in:
parent
5742810293
commit
fcaade6e31
7 changed files with 42 additions and 29 deletions
|
@ -1027,7 +1027,7 @@ Supervisor::NodeConfig Supervisor::NodeConfig::FromRecord(const RecordVal* node)
|
|||
auto key = cluster_table_val->RecoverIndex(k);
|
||||
delete k;
|
||||
auto name = key->Idx(0)->AsStringVal()->ToStdString();
|
||||
auto rv = v->Value()->AsRecordVal();
|
||||
auto rv = v->GetVal()->AsRecordVal();
|
||||
|
||||
Supervisor::ClusterEndpoint ep;
|
||||
ep.role = static_cast<BifEnum::Supervisor::ClusterRole>(rv->Lookup("role")->AsEnum());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue