mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Changed getOperations API to return operation list of removed devices
This commit is contained in:
parent
5e6d8e667d
commit
4ce9c95044
@ -314,7 +314,7 @@ public class OperationManagerImpl implements OperationManager {
|
||||
deviceId.getId() + "'");
|
||||
}
|
||||
|
||||
EnrolmentInfo enrolmentInfo = this.getActiveEnrolmentInfo(deviceId);
|
||||
EnrolmentInfo enrolmentInfo = this.getEnrolmentInfo(deviceId);
|
||||
if (enrolmentInfo == null) {
|
||||
throw new OperationManagementException("Device not found for given device " +
|
||||
"Identifier:" + deviceId.getId() + " and given type" +
|
||||
|
||||
Loading…
Reference in New Issue
Block a user