mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
cluster/serializer/broker: fixup inconsistent param comment
Thanks clang-tidy. References #4754 #4756
This commit is contained in:
parent
2c9015d247
commit
f4e7c4afe8
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ std::optional<broker::zeek::Event> detail::to_broker_event(const zeek::cluster::
|
|||
xs.reserve(ev.Args().size());
|
||||
|
||||
for ( const auto& a : ev.Args() ) {
|
||||
if ( auto res = zeek::Broker::detail::val_to_data(a.get(), /*flatten_broker_dataval=*/true) )
|
||||
if ( auto res = zeek::Broker::detail::val_to_data(a.get(), /*unwrap_broker_data=*/true) )
|
||||
xs.emplace_back(std::move(res.value()));
|
||||
else
|
||||
return std::nullopt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue