From 50b8721a0aeeae2b01aa50460887b32b08141d37 Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Tue, 25 Nov 2025 09:45:05 +0300 Subject: [PATCH] paging --- pkg/registry/apps/correlations/legacy_storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/registry/apps/correlations/legacy_storage.go b/pkg/registry/apps/correlations/legacy_storage.go index 14b085fb660..e8da80276ec 100644 --- a/pkg/registry/apps/correlations/legacy_storage.go +++ b/pkg/registry/apps/correlations/legacy_storage.go @@ -100,7 +100,7 @@ func (s *legacyStorage) List(ctx context.Context, options *internalversion.ListO rsp, err := s.service.GetCorrelations(ctx, correlations.GetCorrelationsQuery{ OrgId: orgID, - Limit: limit + 1, + Limit: limit + 1, // the plus one indicates we have reached the limit Page: page, SourceUIDs: uids, })