mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-05-19 22:13:13 +02:00
Fixed issue in doc info output with --require.
Section names were being repeated in the info output when multiple --require options depended on the same sections.
This commit is contained in:
parent
cb32a8ab1f
commit
e988b96ece
@ -362,9 +362,12 @@ sub required
|
||||
{
|
||||
if ($strChildPath =~ /^$strPath$/ || $strChildPath =~ /^$strPath\/.*$/)
|
||||
{
|
||||
&log(INFO, " require section: ${strChildPath}");
|
||||
if (!defined(${$self->{oSectionRequired}}{$strChildPath}))
|
||||
{
|
||||
&log(INFO, " require section: ${strChildPath}");
|
||||
|
||||
${$self->{oSectionRequired}}{$strChildPath} = true;
|
||||
${$self->{oSectionRequired}}{$strChildPath} = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -108,6 +108,10 @@
|
||||
<release-item>
|
||||
<p>Fixed <backrest/>-specific xml that was loaded for non-<backrest/> projects.</p>
|
||||
</release-item>
|
||||
|
||||
<release-item>
|
||||
<p>Fixed section names being repeated in the info output when multiple <br-option>--require</br-option> options depended on the same sections.</p>
|
||||
</release-item>
|
||||
</release-bug-list>
|
||||
|
||||
<release-feature-list>
|
||||
|
Loading…
x
Reference in New Issue
Block a user