Skip to content

Commit

Permalink
Relax tenant listing limitation to permit search and edit (#2193)
Browse files Browse the repository at this point in the history
Remove tenant listing limitation
  • Loading branch information
allanrogerr authored Jul 3, 2024
1 parent 5f016a1 commit 95f3511
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions api/tenant-handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -568,9 +568,7 @@ func updateTenantIdentityProvider(ctx context.Context, operatorClient OperatorCl
}

func listTenants(ctx context.Context, operatorClient OperatorClientI, namespace string, limit *int32) (*models.ListTenantsResponse, error) {
listOpts := metav1.ListOptions{
Limit: 10,
}
listOpts := metav1.ListOptions{}

if limit != nil {
listOpts.Limit = int64(*limit)
Expand Down

0 comments on commit 95f3511

Please sign in to comment.