mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-18 04:58:51 +02:00
Fixed an issue where db-path was not required for the check command so an assert was thrown when it was missing rather than a polite error message.
Reported by Michael Vitale.
This commit is contained in:
parent
9ae6c01432
commit
5893c3cd2e
@ -82,6 +82,11 @@
|
||||
<contributor-id type="github">gregscds</contributor-id>
|
||||
</contributor>
|
||||
|
||||
<contributor id="vitale.michael">
|
||||
<contributor-name-display>Michael Vitale</contributor-name-display>
|
||||
<contributor-id type="github">MichaelDBA</contributor-id>
|
||||
</contributor>
|
||||
|
||||
<contributor id="vondendriesch.adrian">
|
||||
<contributor-name-display>Adrian Vondendriesch</contributor-name-display>
|
||||
<contributor-id type="github">disco-stu</contributor-id>
|
||||
@ -95,6 +100,18 @@
|
||||
|
||||
<release-list>
|
||||
<release date="XXX-XX-XX" version="1.04dev" title="UNDER DEVELOPMENT">
|
||||
<release-core-list>
|
||||
<release-bug-list>
|
||||
<release-item>
|
||||
<release-item-contributor-list>
|
||||
<release-item-ideator id="vitale.michael"/>
|
||||
</release-item-contributor-list>
|
||||
|
||||
<p>Fixed an issue where db-path was not required for the <cmd>check</cmd> command so an assert was thrown when it was missing rather than a polite error message.</p>
|
||||
</release-item>
|
||||
</release-bug-list>
|
||||
</release-core-list>
|
||||
|
||||
<release-doc-list>
|
||||
<release-feature-list>
|
||||
<release-item>
|
||||
|
@ -1560,10 +1560,7 @@ my %oOptionRule =
|
||||
&OPTION_RULE_REQUIRED => false
|
||||
},
|
||||
&CMD_BACKUP => true,
|
||||
&CMD_CHECK =>
|
||||
{
|
||||
&OPTION_RULE_REQUIRED => false
|
||||
},
|
||||
&CMD_CHECK => true,
|
||||
&CMD_RESTORE => true,
|
||||
},
|
||||
},
|
||||
|
@ -27,7 +27,7 @@ use constant BACKREST_CONF => BACKREST_
|
||||
# Defines the current version of the BackRest executable. The version number is used to track features but does not affect what
|
||||
# repositories or manifests can be read - that's the job of the format number.
|
||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||
use constant BACKREST_VERSION => '1.03';
|
||||
use constant BACKREST_VERSION => '1.04dev';
|
||||
push @EXPORT, qw(BACKREST_VERSION);
|
||||
|
||||
# Format Format Number
|
||||
|
Loading…
Reference in New Issue
Block a user