Skip to content

Commit

Permalink
Cache key fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
dwsteele committed May 29, 2016
1 parent 98c0683 commit 5eac6e7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions doc/lib/BackRestDoc/Common/DocManifest.pm
Expand Up @@ -672,12 +672,16 @@ sub cacheKey
# Assign function parameters, defaults, and log debug info
my ($strOperation) = logDebugParam(__PACKAGE__ . '->cacheKey');

my $strKeyword = join("\n", @{$self->{stryKeyword}});
my $strRequire = defined($self->{stryRequire}) && @{$self->{stryRequire}} > 0 ?
join("\n", @{$self->{stryRequire}}) : 'all';

# Return from function and log return values if any
return logDebugReturn
(
$strOperation,
{name => 'strKeyword', value => join("\n", @{$self->{stryKeyword}})},
{name => 'strRequire', value => defined($self->{stryRequire}) ? join("\n", @{$self->{stryRequire}}) : 'all'},
{name => 'strKeyword', value => $strKeyword},
{name => 'strRequire', value => $strRequire},
);
}

Expand Down

0 comments on commit 5eac6e7

Please sign in to comment.