Issue #12399 has been updated by Matthaus Owens. Status changed from Merged - Pending Release to Closed
Released in Puppet 3.0.0rc1 ---------------------------------------- Refactor #12399: DRY up rest.rb https://projects.puppetlabs.com/issues/12399#change-72587 Author: Jeff Weiss Status: Closed Priority: Low Assignee: Jeff Weiss Category: Target version: 3.0.0 Affected Puppet version: Keywords: Branch: https://github.com/puppetlabs/puppet/pull/451 In source:lib/puppet/indirector/rest.rb, we have many calls to request.do_request(...) with the same parameters and then different blocks. Since all the params to request.do_request are the same, we should move the call and params to a separate method so we don't repeat ourselves, we can then yield to whatever existing block is passed in. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
