HomePhorge

(maint) Modify other uses of get() to get!()
a7faa5f492a3Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(maint) Modify other uses of get() to get!()

There were several uses of get() that either immediately checked for nil
and raised the UnknownEnvironmentError or assumed non-nil and continued.
This changes all of those cases to use the new get!() method and so be
explicit that they require an environment. There are a couple uses that
still don't require the environment to exist.

Details

Provenance
Andrew Parker <andy@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU19832b23f182: (PUP-3244) Add Puppet::Environment::Directories#get! method
Branches
Unknown
Tags
Unknown

Event Timeline

Andrew Parker <andy@puppetlabs.com> committed rPUa7faa5f492a3: (maint) Modify other uses of get() to get!() (authored by Andrew Parker <andy@puppetlabs.com>).Oct 10 2014, 8:13 PM