From 2c20ba65f64ccb0f8174e3f523dedb3806478782 Mon Sep 17 00:00:00 2001 From: Adam Cooke Date: Tue, 5 Mar 2024 22:11:35 +0000 Subject: [PATCH] style(rubocop): use _ when not using a variable in helm config exporter --- lib/postal/helm_config_exporter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/postal/helm_config_exporter.rb b/lib/postal/helm_config_exporter.rb index 818d6bf..40577f7 100644 --- a/lib/postal/helm_config_exporter.rb +++ b/lib/postal/helm_config_exporter.rb @@ -12,7 +12,7 @@ module Postal @schema.groups.each do |group_name, group| path << group_name - group.attributes.each do |name, attr| + group.attributes.each do |name, _| env_var = Konfig::Sources::Environment.path_to_env_var(path + [name]) contents << <<~VAR.strip {{ include "app.envVar" (dict "name" "#{env_var}" "spec" .Values.postal.#{path.join('.')}.#{name} "root" . ) }}