Skip to content

Commit

Permalink
fix rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
suprjinx committed Nov 16, 2024
1 parent 0464d64 commit 5fc3440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/clients/vault/identity_alias.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def delete_entity_alias(entity_name, alias_name, auth_path)
private

def find_identity_alias_id(identity, alias_name, auth_path)
aliases = (identity.data[:aliases] || [ identity.data[:alias] ])
aliases = identity.data[:aliases] || [ identity.data[:alias] ]
a = find_alias(aliases, alias_name, auth_path)
a&.fetch(:id)
end
Expand Down

0 comments on commit 5fc3440

Please sign in to comment.