mirror of https://github.com/apache/cloudstack.git
Remove duplicate systemUse clausule when fetching service offerings.
A couple of lines back there is:
if (isSystem != null) {
sc.addAnd("systemUse", SearchCriteria.Op.EQ, isSystem);
}
So it was set redundantly, this can be removed.
This commit is contained in:
parent
0412cb8d92
commit
510450b11b
|
|
@ -760,7 +760,6 @@ public class ManagementServerImpl implements ManagementServer {
|
|||
sc.addAnd("vm_type", SearchCriteria.Op.EQ, vmTypeStr);
|
||||
}
|
||||
|
||||
sc.addAnd("systemUse", SearchCriteria.Op.EQ, isSystem);
|
||||
sc.addAnd("removed", SearchCriteria.Op.NULL);
|
||||
return _offeringsDao.search(sc, searchFilter);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue