diff --git a/internal/registry/builder/entitlement.go b/internal/registry/builder/entitlement.go index fe501d036..121862fef 100644 --- a/internal/registry/builder/entitlement.go +++ b/internal/registry/builder/entitlement.go @@ -64,6 +64,7 @@ func GetEntitlementRegistry(opts registry.EntitlementOptions) *registry.Entitlem return ®istry.Entitlement{ Feature: featureConnector, + FeatureRepo: featureDBAdapter, EntitlementOwner: entitlementOwnerConnector, CreditBalance: creditBalanceConnector, Grant: grantConnector, diff --git a/internal/registry/entitlement.go b/internal/registry/entitlement.go index 37c6f2b82..7841722ff 100644 --- a/internal/registry/entitlement.go +++ b/internal/registry/entitlement.go @@ -15,6 +15,7 @@ import ( type Entitlement struct { Feature productcatalog.FeatureConnector + FeatureRepo productcatalog.FeatureRepo EntitlementOwner credit.OwnerConnector CreditBalance credit.BalanceConnector Grant credit.GrantConnector