Skip to content

Commit

Permalink
Initialize stopCh in OVN controllers
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Pantelis <[email protected]>
  • Loading branch information
tpantelis committed Aug 21, 2023
1 parent b725af5 commit f093a2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ func NewGatewayRouteController(config watcher.Config, connectionHandler *Connect
controller := &GatewayRouteController{
connectionHandler: connectionHandler,
remoteSubnets: sets.New[string](),
stopCh: make(chan struct{}),
}

config.ResourceConfigs = []watcher.ResourceConfig{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ func NewNonGatewayRouteController(config watcher.Config, connectionHandler *Conn
controller := &NonGatewayRouteController{
connectionHandler: connectionHandler,
remoteSubnets: sets.New[string](),
stopCh: make(chan struct{}),
}

config.ResourceConfigs = []watcher.ResourceConfig{
Expand Down

0 comments on commit f093a2f

Please sign in to comment.