Skip to content

Commit

Permalink
use ads cache to ensure the rule order
Browse files Browse the repository at this point in the history
Signed-off-by: Jesse Haka <[email protected]>
  • Loading branch information
zetaab committed Feb 16, 2024
1 parent cc88e9c commit 28c1149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/xds/server/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Check warning on line 86 in internal/xds/server/runner/runner.go

View check run for this annotation

Codecov / codecov/patch

internal/xds/server/runner/runner.go#L86

Added line #L86 was not covered by tests
registerServer(serverv3.NewServer(ctx, r.cache, r.cache), r.grpc)

// Start and listen xDS gRPC Server.
Expand Down

0 comments on commit 28c1149

Please sign in to comment.