puppetlabs / puppet-specifications

Specification of the Puppet Language, Catalog, Extension points
Other
99 stars 66 forks source link

Update RSAPI spec to match actual implementation #155

Open seanmil opened 1 year ago

seanmil commented 1 year ago

The implementation of the Resource API for the simple_get_filter feature uses an empty array for the names paramter to signal that all resources should be returned, not nil. Instead of changing the code to match the spec, it probably makes more sense to change the spec to match the implementation.

seanmil commented 1 year ago

After consideration, I think fixing the documentation/specification makes more sense than fixing the code, but if a code fix is preferred please see: https://github.com/puppetlabs/puppet-resource_api/pull/304

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.