Skip to content

Commit

Permalink
Merge pull request #1315 from openmeterio/fix/expose-feature-repo
Browse files Browse the repository at this point in the history
fix: expose feature repo
  • Loading branch information
turip authored Aug 7, 2024
2 parents 4562b3f + 7b2b798 commit 034e4cd
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 034e4cd

Please sign in to comment.