HomePhorge

fix bug in Util#symbolizehash!
fc2964f9a801Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

fix bug in Util#symbolizehash!

The method Puppet::Util.symbolizehash! was modifying a hash
during iteration; this is (sanely, thankfully) not legal
in ruby 1.9. This has been broken in our code for quite
some time, but we hadn't noticed because nothing was calling
this method. A recent commit introduced code that calls it,
highlighting the bug, which is fixed by this commit.

Details

Provenance
Chris Price <chris@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUff444aa32a61: Merge pull request #633 from cprice-puppet/bug/2.7.
Branches
Unknown
Tags
Unknown

Event Timeline

Chris Price <chris@puppetlabs.com> committed rPUfc2964f9a801: fix bug in Util#symbolizehash! (authored by Chris Price <chris@puppetlabs.com>).Apr 6 2012, 2:23 AM