Skip to content

Commit

Permalink
lint error correction
Browse files Browse the repository at this point in the history
  • Loading branch information
anu-jose-ibm committed Sep 4, 2023
1 parent 8d0069e commit 7cad52d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/ops_controller/diagnostics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def log_depot_edit

build_supported_depots_for_select
log_protocol = params[:log_protocol]
protocols = FileDepot.supported_depots.transform_values { |v| some_value }
protocols = FileDepot.supported_depots.transform_values { |_v| some_value }
raise _('Invalid or unsupported file depot type.') unless protocols.key?(log_protocol)

depot = @record.log_file_depot.instance_of?(protocols[log_protocol]) ? @record.log_file_depot : @record.build_log_file_depot(:type => log_protocol)
Expand Down

0 comments on commit 7cad52d

Please sign in to comment.