From: Belmin Fernandez Date: Tue, 3 Dec 2024 18:57:18 +0000 (-0500) Subject: dnsdist: Fix addMaintenanceCallback example X-Git-Tag: rec-5.2.0-rc1~12^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F14923%2Fhead;p=thirdparty%2Fpdns.git dnsdist: Fix addMaintenanceCallback example --- diff --git a/pdns/dnsdistdist/docs/reference/config.rst b/pdns/dnsdistdist/docs/reference/config.rst index cd2b4d3fc4..63d4579990 100644 --- a/pdns/dnsdistdist/docs/reference/config.rst +++ b/pdns/dnsdistdist/docs/reference/config.rst @@ -2147,7 +2147,7 @@ Other functions .. code-block:: lua - function myCallback(hostname, ips) + function myCallback() print('called') end addMaintenanceCallback(myCallback)