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 issue in enrollment object modification See merge request entgra/carbon-device-mgt!741
This commit is contained in:
commit
d4aaf3ce4b
@ -99,8 +99,7 @@ public class DeviceStatusMonitoringTask extends DynamicPartitionedScheduleTask {
|
||||
long lastUpdatedTime = (timeMillis - monitoringData
|
||||
.getLastUpdatedTime()) / 1000;
|
||||
|
||||
EnrolmentInfo enrolmentInfo = new EnrolmentInfo();
|
||||
enrolmentInfo.setId(monitoringData.getDevice().getEnrolmentInfo().getId());
|
||||
EnrolmentInfo enrolmentInfo = monitoringData.getDevice().getEnrolmentInfo();
|
||||
EnrolmentInfo.Status status = null;
|
||||
if (lastUpdatedTime >= this.deviceStatusTaskPluginConfig
|
||||
.getIdleTimeToMarkInactive()) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user