Skip to content

Commit

Permalink
Remove tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis Charreau committed Dec 20, 2023
1 parent 6daac95 commit 1ab1244
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/puppet/provider/elastic_stack_keystore/ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ def self.present_keystores(configdir, service, password = '')
current_password = case service
when 'elasticsearch'
if has_passwd?(service)
File.file?(elastic_keystore_password_file_bak) ? elastic_keystore_password_bak : elastic_keystore_password(password.value)
File.file?(elastic_keystore_password_file_bak) ? elastic_keystore_password_bak : elastic_keystore_password(password.value)

Check failure on line 136 in lib/puppet/provider/elastic_stack_keystore/ruby.rb

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

Metrics/BlockNesting: Avoid more than 3 levels of block nesting. (https://rubystyle.guide#three-is-the-number-thou-shalt-count)
else
elastic_keystore_password(password.value)
elastic_keystore_password(password.value)
''
end
else
Expand Down

0 comments on commit 1ab1244

Please sign in to comment.