From 07d9a17b5a386351d63d1d032162ccdb442b5d0f Mon Sep 17 00:00:00 2001 From: Belmin Fernandez <belminf@gmail.com> Date: Tue, 3 Dec 2024 13:57:18 -0500 Subject: [PATCH] dnsdist: Fix addMaintenanceCallback example --- pdns/dnsdistdist/docs/reference/config.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdistdist/docs/reference/config.rst b/pdns/dnsdistdist/docs/reference/config.rst index cd2b4d3fc4d7..63d457999070 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)