Skip to content

Commit

Permalink
Indicate unused variable in reject block for rubocop.
Browse files Browse the repository at this point in the history
  • Loading branch information
djberg96 committed Mar 27, 2019
1 parent 313ae94 commit af27955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/conversion_host/configurations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def queue_configuration(op, instance_id, resource, params, auth_user = nil)
#
MiqTask.find(task_id).tap do |task|
params = params&.except(:task_id, :miq_task_id)
hash = {:request_params => params&.reject { |key, value| key.to_s.end_with?('private_key') }}
hash = {:request_params => params&.reject { |key, _value| key.to_s.end_with?('private_key') }}
task.context_data = hash
task.save
end
Expand Down

0 comments on commit af27955

Please sign in to comment.