Skip to content

Commit 96e7f54

Browse files
authored
Stall ns notifications until gws have inited (#426)
* Fixes a regression caused by #420 which stalled namespace notifications until the httproute resource were initialized, but the namespaces are required to be populated to built listener context which affects infra IR creation. Signed-off-by: Arko Dasgupta <[email protected]> Signed-off-by: Arko Dasgupta <[email protected]>
1 parent dee2d11 commit 96e7f54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/gatewayapi/runner/runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func (r *Runner) subscribeAndTranslate(ctx context.Context) {
6262
case <-servicesCh:
6363
r.waitUntilAllGAPIInitialized()
6464
case <-namespacesCh:
65-
r.waitUntilAllGAPIInitialized()
65+
r.waitUntilGCAndGatewaysInitialized()
6666
}
6767
r.Logger.Info("received a notification")
6868
// Load all resources required for translation

0 commit comments

Comments
 (0)