Fix order of parameters in POD documentation
authorDaniel Gustafsson <[email protected]>
Tue, 13 May 2025 11:29:14 +0000 (07:29 -0400)
committerDaniel Gustafsson <[email protected]>
Tue, 13 May 2025 11:29:14 +0000 (07:29 -0400)
The documentation for log_check() had the parameters in the wrong
order.  Also while there, rename %parameters to %params to better
documentation for similar functions which use %params.  Backpatch
down to v14 where this was introduced.

Author: Daniel Gustafsson <[email protected]>
Reviewed-by: Michael Paquier <[email protected]>
Discussion: https://postgr.es/m/9F503B5-32F2-45D7-A0AE-952879AD65F1@yesql.se
Backpatch-through: 14

src/test/perl/PostgreSQL/Test/Cluster.pm

index aa5b53167688a95d71e296e411595d8f0e174bc3..1c11750ac1d0761a1de94538c940afd869bf3bc6 100644 (file)
@@ -2922,7 +2922,7 @@ sub log_content
 
 =pod
 
-=item $node->log_check($offset, $test_name, %parameters)
+=item $node->log_check($test_name, $offset, %params)
 
 Check contents of server logs.