From 7cad52d5874126314e66be1fd3dea3fffc8c1629 Mon Sep 17 00:00:00 2001 From: Anu-Jose3 Date: Mon, 4 Sep 2023 09:40:13 +0530 Subject: [PATCH] lint error correction --- app/controllers/ops_controller/diagnostics.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/ops_controller/diagnostics.rb b/app/controllers/ops_controller/diagnostics.rb index 8d64fd1db5b..825c2728b6f 100644 --- a/app/controllers/ops_controller/diagnostics.rb +++ b/app/controllers/ops_controller/diagnostics.rb @@ -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)