mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Get profile operations from nect operations method
This commit is contained in:
parent
f93d710d8e
commit
8e4c181446
@ -143,7 +143,7 @@ public class OperationManagerImpl implements OperationManager {
|
||||
public Operation getNextPendingOperation(DeviceIdentifier deviceId) throws OperationManagementException {
|
||||
try {
|
||||
Operation operation = operationDAO.getNextOperation(deviceId);
|
||||
if (operation instanceof ProfileOperation){
|
||||
if (operation!=null && operation.getType().equals(Operation.Type.PROFILE)){
|
||||
operation = profileOperationDAO.getNextOperation(deviceId);
|
||||
}
|
||||
return operation;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user