mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Attr: Deprecate using &default and &optional together on record fields
If &default implies re-initialization of the field, using them together doesn't make much sense.
This commit is contained in:
parent
23181e4811
commit
473723cc47
6 changed files with 43 additions and 1 deletions
|
@ -52,7 +52,7 @@ export {
|
|||
## The peer that originated this weird. This is helpful in
|
||||
## cluster deployments if a particular cluster node is having
|
||||
## trouble to help identify which node is having trouble.
|
||||
peer: string &log &optional &default=peer_description;
|
||||
peer: string &log &default=peer_description;
|
||||
|
||||
## The source of the weird. When reported by an analyzer, this
|
||||
## should be the name of the analyzer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue