HomePhorge

(#7656) Rename contact to make_http_request
5a8dc51e36bfUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#7656) Rename contact to make_http_request

Before this patch, the repository module used method names such as
contact to refer the action of making an http request, and
read_contact to refer to the action of reading an http response. This
caused readability issues.

This patch fixes these issues by renaming the following methods:

  • contact -> make_http_request
  • read_contact -> read_response

This patch also updates the related unit tests to reflect the new names
of these methods.

Details

Provenance
Kelsey Hightower <kelsey@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU90b1fcda2593: (#7656) Use a Puppet setting for default module repo
Branches
Unknown
Tags
Unknown

Event Timeline

Kelsey Hightower <kelsey@puppetlabs.com> committed rPU5a8dc51e36bf: (#7656) Rename contact to make_http_request (authored by Kelsey Hightower <kelsey@puppetlabs.com>).Dec 6 2011, 1:23 PM