Skip to content

Commit 7631a54

Browse files
authored
Merge pull request #9051 from AriaXLi/PUP-10928/allow_pson_serialization_setting
(PUP-10928) Fix missing :
2 parents 0c75998 + 3b4503c commit 7631a54

File tree

1 file changed

+1
-1
lines changed
  • lib/puppet/indirector/catalog

1 file changed

+1
-1
lines changed

lib/puppet/indirector/catalog/json.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def from_json(text)
1818
def to_json(object)
1919
object.render(json_format)
2020
rescue Puppet::Network::FormatHandler::FormatError => err
21-
if Puppet[allow_pson_serialization]
21+
if Puppet[:allow_pson_serialization]
2222
Puppet.info(_("Unable to serialize catalog to json, retrying with pson. PSON is deprecated and will be removed in a future release"))
2323
Puppet.log_exception(err, err.message, level: :debug)
2424
object.render('pson').force_encoding(Encoding::BINARY)

0 commit comments

Comments
 (0)