mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
No need to namespace Cluster:: functions in their own namespace
This commit is contained in:
parent
27517ee4cb
commit
e81856a4af
1 changed files with 2 additions and 2 deletions
|
@ -336,7 +336,7 @@ function nodes_with_type(node_type: NodeType): vector of NamedNode
|
|||
{ return strcmp(n1$name, n2$name); });
|
||||
}
|
||||
|
||||
function Cluster::get_node_count(node_type: NodeType): count
|
||||
function get_node_count(node_type: NodeType): count
|
||||
{
|
||||
local cnt = 0;
|
||||
|
||||
|
@ -349,7 +349,7 @@ function Cluster::get_node_count(node_type: NodeType): count
|
|||
return cnt;
|
||||
}
|
||||
|
||||
function Cluster::get_active_node_count(node_type: NodeType): count
|
||||
function get_active_node_count(node_type: NodeType): count
|
||||
{
|
||||
return node_type in active_node_ids ? |active_node_ids[node_type]| : 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue