(rubocop) Fix Layout/AlignHash & Layout/IndentHash

This commit is contained in:
Tim Sharpe 2019-02-03 13:08:00 +11:00
parent f2167f8be7
commit 851009b1f6
7 changed files with 74 additions and 70 deletions

View file

@ -152,10 +152,10 @@ class Vmfloaty
tags = options.tags ? JSON.parse(options.tags) : nil
modify_hash = {
:lifetime => options.lifetime,
:disk => options.disk,
:tags => tags,
:reason => options.reason,
:lifetime => options.lifetime,
:disk => options.disk,
:tags => tags,
:reason => options.reason,
}
modify_hash.delete_if { |_, value| value.nil? }