]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Update dq.rst 6615/head
authorphonedph1 <phoned@gmail.com>
Thu, 17 May 2018 00:55:54 +0000 (18:55 -0600)
committerGitHub <noreply@github.com>
Thu, 17 May 2018 00:55:54 +0000 (18:55 -0600)
I believe the returns were mixed between these two..

pdns/dnsdistdist/docs/reference/dq.rst

index b0ea734fc7feaaf726a2f9cb2770bad3f96127e4..403a701c4597118931314c678fa8f4fc308ad9fb 100644 (file)
@@ -91,7 +91,7 @@ This state can be modified from the various hooks.
     Get the value of a tag stored into the DNSQuestion object.
 
     :param string key: The tag's key
-    :returns: A table of tags, using strings as keys and values
+    :returns: The tag's value if it was set, an empty string otherwise
 
   .. method:: DNSQuestion:getTagArray() -> table
 
@@ -99,7 +99,7 @@ This state can be modified from the various hooks.
 
     Get all the tags stored into the DNSQuestion object.
 
-    :returns: The tag's value if it was set, an empty string otherwise
+    :returns: A table of tags, using strings as keys and values
 
   .. method:: DNSQuestion:sendTrap(reason)