HomeSoftware Heritage

[MODULES-10729] defined_with_params - unnamed type

Description

[MODULES-10729] defined_with_params - unnamed type

This fixes an issue where trying to match against any declared defined
type with a specific parameter would never return that there was a match
in the catalog.

This is relevant when trying to ensure that you don't have port
conflicts in services that can declare multiple instances of a service
through a given defined type, such as Apache.

This, previously valid call to the function now works as expected:

`defined_with_params(My::DefinedType, { 'port' => 1337 })`

MODULES-10729 #close

Details

Provenance
Trevor Vaughan <tvaughan@onyxpoint.com>Authored on Jul 8 2020, 8:22 PM
olasdPushed on Oct 13 2020, 3:46 PM
Parents
rSPSTD88ffa244ad3b: Merge pull request #1113 from Rocco83/master
Branches
Unknown
Tags
Unknown

Event Timeline

Trevor Vaughan <tvaughan@onyxpoint.com> committed rSPSTD733320ed3d67: [MODULES-10729] defined_with_params - unnamed type (authored by Trevor Vaughan <tvaughan@onyxpoint.com>).Jul 8 2020, 8:28 PM