mirror of
https://github.com/apache/cloudstack
synced 2026-08-30 17:01:56 +00:00
bug 11181: taking care of a boundary condition with 0 user VM
This commit is contained in:
parent
9feb05ac13
commit
cd01f7dab2
@ -402,7 +402,8 @@ public class UserVmDaoImpl extends GenericDaoBase<UserVmVO, Long> implements Use
|
||||
}
|
||||
rs.close();
|
||||
}
|
||||
pstmt.close();
|
||||
|
||||
if (pstmt!=null)pstmt.close();
|
||||
return userVmDataHash;
|
||||
} catch (SQLException e) {
|
||||
throw new CloudRuntimeException("DB Exception on: " + VM_DETAILS, e);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user