style(rubocop): use _ when not using a variable in helm config exporter

This commit is contained in:
Adam Cooke
2024-03-05 22:13:38 +00:00
parent d0591ee94a
commit 2c20ba65f6
+1 -1
View File
@@ -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" . ) }}