You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by is...@apache.org on 2023/02/09 03:06:56 UTC

[airavata-custos] branch baremetal updated: Buf fix in ResourceManager

This is an automated email from the ASF dual-hosted git repository.

isjarana pushed a commit to branch baremetal
in repository https://gitbox.apache.org/repos/asf/airavata-custos.git


The following commit(s) were added to refs/heads/baremetal by this push:
     new fb0ebda71 Buf fix in ResourceManager
     new 6bd642cba Merge pull request #351 from isururanawaka/baremetal
fb0ebda71 is described below

commit fb0ebda715a8835da9af7392e52b0c4760fbf7e5
Author: Isuru Ranawaka <ir...@gmail.com>
AuthorDate: Wed Feb 8 22:06:14 2023 -0500

    Buf fix in ResourceManager
---
 .../java/org/apache/custos/scim/resource/manager/ResourceManager.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/custos-services/custos-integration-services/scim-service/src/main/java/org/apache/custos/scim/resource/manager/ResourceManager.java b/custos-services/custos-integration-services/scim-service/src/main/java/org/apache/custos/scim/resource/manager/ResourceManager.java
index f56804321..ce4090abb 100644
--- a/custos-services/custos-integration-services/scim-service/src/main/java/org/apache/custos/scim/resource/manager/ResourceManager.java
+++ b/custos-services/custos-integration-services/scim-service/src/main/java/org/apache/custos/scim/resource/manager/ResourceManager.java
@@ -325,7 +325,7 @@ public class ResourceManager implements UserManager {
                 FindUsersRequest findUsersRequest = FindUsersRequest.newBuilder().setAccessToken(token.getAccessToken())
                         .setOffset(searchRequest.getStartIndex() - 1)
                         .setTenantId(tenant)
-                        .setOffset(searchRequest.getCount())
+                        .setLimit(searchRequest.getCount())
                         .build();
 
                 FindUsersResponse userRep = iamAdminServiceClient.getUsers(findUsersRequest);