Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
An exception has been thrown when no jobids for a specific client were available. This patch allows an emtpy jobid if no backup jobs are available. We just drop the jobid argument from isset(), so the argument list is correct in case of not given jobid, by that the exception is no longer thrown. Also we no longer try to retrieve related jobids via bvfs api for a not given jobid which lead to unnecessary load on dird. In this case $jobids, $files and $directories is immediatly set to null. Note: bfvs_get_jobids needs at least one jobid to retrieve related jobids for a most recent restore.
- Loading branch information
1 parent
a0dd338
commit fdcbd9d
Showing
2 changed files
with
21 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters