HomePhorge

(#13737) Swap build_tree and format_tree method names
a2990a83f880Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#13737) Swap build_tree and format_tree method names

The Puppet::Module::Tool.build_tree and
Puppet::Module::Tool.format_tree method names do not match their
behavior. Both methods actually do the inverse,
Puppet::Module::Tool.build_tree formats a tree for output and
Puppet::Module::Tool.format_tree builds the tree that is passed to
Puppet::Module::Tool.build_tree. Even this commit message is
confusing.

This patch swaps the names and updates the related specs.

Details

Provenance
Kelsey Hightower <kelsey@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUd88f3e7c387e: Merge pull request #613 from puppetlabs/geordi
Branches
Unknown
Tags
Unknown

Event Timeline

Kelsey Hightower <kelsey@puppetlabs.com> committed rPUa2990a83f880: (#13737) Swap build_tree and format_tree method names (authored by Kelsey Hightower <kelsey@puppetlabs.com>).Apr 5 2012, 3:56 AM