Skip to content

Commit

Permalink
fix: remove escaped quote in score-attribute definition
Browse files Browse the repository at this point in the history
  • Loading branch information
teluq-pbrideau committed Dec 13, 2024
1 parent 6f30219 commit 4b3c8ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/provider/cs_location/pcs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def flush
name = rule_item.keys.first
rule = rule_item[name]

score = rule['score-attribute'].nil? ? "score=#{rule['score']}" : "score-attribute=\"#{rule['score-attribute']}\""
score = rule['score-attribute'].nil? ? "score=#{rule['score']}" : "score-attribute=#{rule['score-attribute']}"

boolean_op = rule['boolean-op'] || 'and'
expression = self.class.rule_expression(name, rule['expression'], boolean_op)
Expand Down

0 comments on commit 4b3c8ec

Please sign in to comment.