mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge branch 'sync_fix' into 'master'
Fix cache not updating See merge request entgra/carbon-device-mgt!734
This commit is contained in:
commit
7e088ea747
@ -116,8 +116,7 @@ public class DeviceStatusMonitoringTask extends DynamicPartitionedScheduleTask {
|
||||
DeviceIdentifier deviceIdentifier =
|
||||
new DeviceIdentifier(monitoringData.getDevice()
|
||||
.getDeviceIdentifier(), deviceType);
|
||||
DeviceCacheManagerImpl.getInstance().removeDeviceFromCache(deviceIdentifier,
|
||||
monitoringData.getTenantId());
|
||||
monitoringData.getDevice().setEnrolmentInfo(enrolmentInfo);
|
||||
DeviceCacheManagerImpl.getInstance().addDeviceToCache(deviceIdentifier,
|
||||
monitoringData.getDevice(), monitoringData.getTenantId());
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user