Skip to content

Commit

Permalink
fix: expose feature repo
Browse files Browse the repository at this point in the history
As that is required by the cloud codebase if we want to move to the registry
approach.
  • Loading branch information
turip committed Aug 7, 2024
1 parent 4562b3f commit 7b2b798
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/registry/builder/entitlement.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ func GetEntitlementRegistry(opts registry.EntitlementOptions) *registry.Entitlem

return &registry.Entitlement{
Feature: featureConnector,
FeatureRepo: featureDBAdapter,
EntitlementOwner: entitlementOwnerConnector,
CreditBalance: creditBalanceConnector,
Grant: grantConnector,
Expand Down
1 change: 1 addition & 0 deletions internal/registry/entitlement.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import (

type Entitlement struct {
Feature productcatalog.FeatureConnector
FeatureRepo productcatalog.FeatureRepo
EntitlementOwner credit.OwnerConnector
CreditBalance credit.BalanceConnector
Grant credit.GrantConnector
Expand Down

0 comments on commit 7b2b798

Please sign in to comment.