mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-05-21 22:23:12 +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
@ -361,6 +361,8 @@ sub required
|
|||||||
foreach my $strChildPath (sort(keys(%{$self->{oSection}})))
|
foreach my $strChildPath (sort(keys(%{$self->{oSection}})))
|
||||||
{
|
{
|
||||||
if ($strChildPath =~ /^$strPath$/ || $strChildPath =~ /^$strPath\/.*$/)
|
if ($strChildPath =~ /^$strPath$/ || $strChildPath =~ /^$strPath\/.*$/)
|
||||||
|
{
|
||||||
|
if (!defined(${$self->{oSectionRequired}}{$strChildPath}))
|
||||||
{
|
{
|
||||||
&log(INFO, " require section: ${strChildPath}");
|
&log(INFO, " require section: ${strChildPath}");
|
||||||
|
|
||||||
@ -368,6 +370,7 @@ sub required
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# Get the path of the current section's parent
|
# Get the path of the current section's parent
|
||||||
my $strParentPath = $oNode->paramGet('path-parent', false);
|
my $strParentPath = $oNode->paramGet('path-parent', false);
|
||||||
|
@ -108,6 +108,10 @@
|
|||||||
<release-item>
|
<release-item>
|
||||||
<p>Fixed <backrest/>-specific xml that was loaded for non-<backrest/> projects.</p>
|
<p>Fixed <backrest/>-specific xml that was loaded for non-<backrest/> projects.</p>
|
||||||
</release-item>
|
</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-bug-list>
|
||||||
|
|
||||||
<release-feature-list>
|
<release-feature-list>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user