Skip to content

Commit

Permalink
controller.newGatewayAPITopologyBuilder made private
Browse files Browse the repository at this point in the history
Signed-off-by: Guilherme Cassolato <[email protected]>
  • Loading branch information
guicassolato committed Jul 24, 2024
1 parent b9c52ef commit 1b6c378
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func NewController(f ...ControllerOptionFunc) *Controller {
controller := &Controller{
client: opts.client,
cache: newCacheStore(),
topology: NewGatewayAPITopologyBuilder(opts.policyKinds, opts.objectKinds, opts.objectLinks),
topology: newGatewayAPITopologyBuilder(opts.policyKinds, opts.objectKinds, opts.objectLinks),
informers: map[string]cache.SharedInformer{},
callback: opts.callback,
}
Expand Down
2 changes: 1 addition & 1 deletion controller/topology.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/kuadrant/policy-machinery/machinery"
)

func NewGatewayAPITopologyBuilder(policyKinds, objectKinds []schema.GroupKind, objectLinks []RuntimeLinkFunc) *gatewayAPITopologyBuilder {
func newGatewayAPITopologyBuilder(policyKinds, objectKinds []schema.GroupKind, objectLinks []RuntimeLinkFunc) *gatewayAPITopologyBuilder {
return &gatewayAPITopologyBuilder{
policyKinds: policyKinds,
objectKinds: objectKinds,
Expand Down

0 comments on commit 1b6c378

Please sign in to comment.