broker/main: Reference Cluster::publish() for auto_publish() deprecation

In hindsight, this is the better thing to do and with Zeek 7.2 we should
be confident enough that it'll work.
This commit is contained in:
Arne Welzel 2025-04-15 16:03:45 +02:00
parent a7423104e1
commit ab25e5d24b

View file

@ -452,7 +452,7 @@ export {
## ev: a Zeek event value.
##
## Returns: true if automatic event sending is now enabled.
global auto_publish: function(topic: string, ev: any): bool &deprecated="Remove in v8.1. Switch to explicit Broker::publish() calls. Auto-publish won't work with all cluster backends.";
global auto_publish: function(topic: string, ev: any): bool &deprecated="Remove in v8.1. Switch to explicit Cluster::publish() calls. Auto-publish won't work with all cluster backends.";
## Stop automatically sending an event to peers upon local dispatch.
##