mirror of https://github.com/apache/cloudstack.git
bug 11181: taking care of a boundary condition with 0 user VM
This commit is contained in:
parent
7b034a68c0
commit
0d14faec34
|
|
@ -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