From 57e08675899d6ea3a7833058910b33c45b235257 Mon Sep 17 00:00:00 2001 From: Jesse Haka Date: Sat, 17 Feb 2024 02:45:58 +0200 Subject: [PATCH] use ADS cache to ensure the rule order (#2634) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit use ads cache to ensure the rule order Signed-off-by: Jesse Haka Signed-off-by: Stéphane Cottin --- internal/xds/server/runner/runner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/xds/server/runner/runner.go b/internal/xds/server/runner/runner.go index bb18976932fa..28c203a86341 100644 --- a/internal/xds/server/runner/runner.go +++ b/internal/xds/server/runner/runner.go @@ -83,7 +83,7 @@ func (r *Runner) Start(ctx context.Context) (err error) { PermitWithoutStream: true, })) - r.cache = cache.NewSnapshotCache(false, r.Logger) + r.cache = cache.NewSnapshotCache(true, r.Logger) registerServer(serverv3.NewServer(ctx, r.cache, r.cache), r.grpc) // Start and listen xDS gRPC Server.