Skip to content

Commit

Permalink
Update Vault.pm
Browse files Browse the repository at this point in the history
Keys on ref experimental
  • Loading branch information
mickenordin authored Jan 15, 2018
1 parent 5037f4b commit 5f13c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SU/API/Vault.pm
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ sub get_secret {
$self->{last_secret}->{path} = $path;
$self->{last_secret}->{access_time} = $time;
$self->{last_secret}->{data} = $perl_data->{data};
my @keys = keys $self->{last_secret}->{data};
my @keys = keys %{$self->{last_secret}->{data}};
$self->{last_secret}->{data_keys} = \@keys;
return $self->{last_secret};

Expand Down

0 comments on commit 5f13c22

Please sign in to comment.