mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
porting 8065 to master
This commit is contained in:
parent
f20c725827
commit
2188450fb0
@ -357,9 +357,9 @@ public class VMTemplateDaoImpl extends GenericDaoBase<VMTemplateVO, Long> implem
|
||||
|
||||
if (isIso) {
|
||||
sql += " t.format = 'ISO'";
|
||||
if (accountType == Account.ACCOUNT_TYPE_NORMAL){
|
||||
sql += " AND t.public = 1 ";
|
||||
}
|
||||
// if (accountType == Account.ACCOUNT_TYPE_NORMAL){
|
||||
// sql += " AND t.public = 1 ";
|
||||
// }
|
||||
if (!hyperType.equals(HypervisorType.None)) {
|
||||
sql += " AND goh.hypervisor_type = '" + hyperType.toString() + "'";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user