mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Merge remote-tracking branch 'origin/topic/awelzel/pre-commit-typos'
* origin/topic/awelzel/pre-commit-typos: all: Fix typos identified by typos pre-commit hook NEWS typo fixes Start with a typos pre-commit file
This commit is contained in:
commit
0fe32715c0
62 changed files with 173 additions and 85 deletions
|
@ -41,7 +41,7 @@ function archiver_encode_log_metadata(tbl: table[string] of string): string
|
|||
local metadata_vec: vector of string;
|
||||
for ( k, v in tbl )
|
||||
{
|
||||
if ( |v| == 0 ) # Assume concious decision to skip this entry.
|
||||
if ( |v| == 0 ) # Assume conscious decision to skip this entry.
|
||||
next;
|
||||
|
||||
if ( /[,=]/ in k || /[,=]/ in v )
|
||||
|
|
|
@ -167,7 +167,7 @@ export {
|
|||
##
|
||||
## For example, a search for 192.168.17.0/8 will reveal a rule that exists for
|
||||
## 192.168.0.0/16, since this rule affects the subnet. However, it will not reveal
|
||||
## a more specific rule for 192.168.17.1/32, which does not directy affect the whole
|
||||
## a more specific rule for 192.168.17.1/32, which does not directly affect the whole
|
||||
## subnet.
|
||||
##
|
||||
## This function works on both the manager and workers of a cluster. Note that on
|
||||
|
|
|
@ -26,7 +26,7 @@ export {
|
|||
}
|
||||
|
||||
redef record ResultVal += {
|
||||
# Internal use only. This is not meant to be publically available
|
||||
# Internal use only. This is not meant to be publicly available
|
||||
# because probabilistic data structures have to be examined using
|
||||
# specialized bifs.
|
||||
card: opaque of cardinality &optional;
|
||||
|
|
|
@ -26,7 +26,7 @@ export {
|
|||
}
|
||||
|
||||
redef record ResultVal += {
|
||||
# Internal use only. This is not meant to be publically available
|
||||
# Internal use only. This is not meant to be publicly available
|
||||
# and just a copy of num_samples from the Reducer. Needed for
|
||||
# availability in the compose hook.
|
||||
num_samples: count &default=0;
|
||||
|
|
|
@ -28,7 +28,7 @@ redef record ResultVal += {
|
|||
# set in the reducer.
|
||||
unique_max: count &optional;
|
||||
|
||||
# Internal use only. This is not meant to be publically available
|
||||
# Internal use only. This is not meant to be publicly available
|
||||
# because we don't want to trust that we can inspect the values
|
||||
# since we will likely move to a probabilistic data structure in the future.
|
||||
# TODO: in the future this will optionally be a hyperloglog structure
|
||||
|
|
|
@ -167,7 +167,7 @@ export {
|
|||
global get_emails: function(a: addr): string;
|
||||
}
|
||||
|
||||
# Please ignore, this is an interally used variable.
|
||||
# Please ignore, this is an internally used variable.
|
||||
global local_dns_suffix_regex: pattern = /MATCH_NOTHING/;
|
||||
global local_dns_neighbor_suffix_regex: pattern = /MATCH_NOTHING/;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue