From 2a9a73883f03ad756ee31c4c4396e136be2d8eac Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Thu, 1 Aug 2019 16:39:18 +0200 Subject: [PATCH] rec docs: fix versionadded for maintenance() --- pdns/recursordist/docs/lua-scripting/hooks.rst | 4 ++-- pdns/recursordist/docs/settings.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.47.2