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, })