HomePhorge

MAINT: fix the misordered invocations in action.
88aeb04a50d8Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

MAINT: fix the misordered invocations in action.

When initializing we need to set the name and interface before we do anything
else, since the reasonable assumption for users is that those invariants are
there when their setter is called.

This allows someone to override the interface or name by misusing the call to
new, but they could already screw up by passing the wrong values, so whatever.

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU4c320cc482a3: Merge branch 'tickets/master/6770'
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPU88aeb04a50d8: MAINT: fix the misordered invocations in action. (authored by Daniel Pittman <daniel@puppetlabs.com>).Mar 25 2011, 6:38 PM