From ab25e5d24ba018ffaf5c8bd95b74e8a1f9ddc0cc Mon Sep 17 00:00:00 2001 From: Arne Welzel Date: Tue, 15 Apr 2025 16:03:45 +0200 Subject: [PATCH] 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. --- scripts/base/frameworks/broker/main.zeek | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/base/frameworks/broker/main.zeek b/scripts/base/frameworks/broker/main.zeek index 159774e360..a3704b7157 100644 --- a/scripts/base/frameworks/broker/main.zeek +++ b/scripts/base/frameworks/broker/main.zeek @@ -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. ##