fix (listing): return all resources from listing requests (#3278)
This commit is contained in:
15 files changed
+21
-20
No files matched your search
@@ -666,7 +666,7 @@ func (s Service) listFromRepo(ctx context.Context, scopeIds []string) ([]*iam.Sc
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
scps, err := repo.ListScopes(ctx, scopeIds)
|
||||
scps, err := repo.ListScopes(ctx, scopeIds, iam.WithLimit(-1))
|
||||
if err != nil {
|
||||
return nil, handlers.ApiErrorWithCodeAndMessage(codes.Internal, "Unable to list scopes: %v", err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user