Skip to content

Commit

Permalink
Make RuboCop happy
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Oct 16, 2019
1 parent f3e8f7d commit 6ad351a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib/y2storage/encryption_processes/pervasive.rb
Expand Up @@ -150,7 +150,10 @@ def cheetah_recorder
# @return [SecureKey]
def generate_secure_key(device)
key_name = "YaST_#{device.dm_table_name}"
key = SecureKey.generate(key_name, volumes: [device], sector_size: sector_size_for(device.blk_device))
key = SecureKey.generate(
key_name, volumes: [device],
sector_size: sector_size_for(device.blk_device)
)
log.info "Generated secure key #{key.name}"

key
Expand Down

0 comments on commit 6ad351a

Please sign in to comment.