Skip to content

Commit 4792d1f

Browse files
author
Kevin Paulisse
committed
Un-hardcode parameters hash
1 parent f90f132 commit 4792d1f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lib/octocatalog-diff/catalog-util

lib/octocatalog-diff/catalog-util/enc.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def override_enc_parameters(logger)
5454
return unless @options[:enc_override].is_a?(Array) && @options[:enc_override].any?
5555
content_structure = YAML.load(content)
5656
@options[:enc_override].each do |x|
57-
merge_enc_param(content_structure, "parameters::#{x.key}", x.value)
57+
merge_enc_param(content_structure, x.key, x.value)
5858
logger.debug "ENC override: #{x.key} #{x.value.nil? ? 'DELETED' : '= ' + x.value.inspect}"
5959
end
6060
@content = content_structure.to_yaml

0 commit comments

Comments
 (0)