mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge pull request 'Remove device details loading while processing policies' (#62) from pramilaniroshan/device-mgt-core:master into master
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/62
This commit is contained in:
commit
9ad7438d69
@ -1038,7 +1038,7 @@ public class PolicyManagerImpl implements PolicyManager {
|
||||
.getInstance().getDeviceManagementService();
|
||||
List<Device> allDevices;
|
||||
try {
|
||||
allDevices = deviceManagementService.getAllDevices();
|
||||
allDevices = deviceManagementService.getAllDevices(false);
|
||||
} catch (DeviceManagementException e) {
|
||||
throw new PolicyManagementException("Error occurred while getting the devices related to policy id (" +
|
||||
policyId + ")", e);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user