Skip to content

Commit

Permalink
Bug fix for filtering vault matches
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisjbell committed Nov 15, 2022
1 parent 77f162b commit 5c81e7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions ci/tasks/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ inputs:
- name: git-ci

params:
REPO_ROOT: git
CI_ROOT: git-ci
GITHUB_USER: ((github.username))
GITHUB_AUTH_TOKEN: ((github.access_token))
REPO_ROOT: git
CI_ROOT: git-ci
GITHUB_USER: ((github.username))
GITHUB_AUTH_TOKEN: ((github.access_token))

run:
path: "git/ci/scripts/test"
Expand Down
2 changes: 1 addition & 1 deletion lib/Genesis/Vault.pm
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ sub attach {
my %filter = (url => $url);
$filter{verify} = (($opts{tls} && $opts{verify}) ? 1 : 0) if $opts{tls};
for (qw/namespace strongbox/) {
$filter{$_} = ($opts{$_}) if defined($opts{tls});
$filter{$_} = $opts{$_} if defined($opts{$_});
}

my @targets = Genesis::Vault->find(%filter);
Expand Down

0 comments on commit 5c81e7d

Please sign in to comment.