From: Peter van Dijk Date: Thu, 1 Aug 2019 14:39:18 +0000 (+0200) Subject: rec docs: fix versionadded for maintenance() X-Git-Tag: dnsdist-1.4.0-rc1~15^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8152%2Fhead;p=thirdparty%2Fpdns.git rec docs: fix versionadded for maintenance() --- diff --git a/pdns/recursordist/docs/lua-scripting/hooks.rst b/pdns/recursordist/docs/lua-scripting/hooks.rst index 79ec8b0e55..7a5781c198 100644 --- a/pdns/recursordist/docs/lua-scripting/hooks.rst +++ b/pdns/recursordist/docs/lua-scripting/hooks.rst @@ -323,8 +323,8 @@ For example, to send a custom SNMP trap containing the qname from the Maintenance callback -------------------- -Starting with version 4.1.4 of the recursor, it is possible to define a `maintenance()` callback function that will be called periodically. -This function expects no argument and doesn't return any value +Starting with version 4.2.0 of the recursor, it is possible to define a `maintenance()` callback function that will be called periodically. +This function expects no argument and doesn't return any value. .. code-block:: Lua diff --git a/pdns/recursordist/docs/settings.rst b/pdns/recursordist/docs/settings.rst index e76d0e7c2d..6d35a259bc 100644 --- a/pdns/recursordist/docs/settings.rst +++ b/pdns/recursordist/docs/settings.rst @@ -818,7 +818,7 @@ Path to a lua file to manipulate the Recursor's answers. See :doc:`lua-scripting ``lua-maintenance-interval`` ---------------------------- -.. versionadded:: 4.1.4 +.. versionadded:: 4.2.0 - Integer - Default: 1