Merge pull request #1833 from Accelerite/CLOUDSTACK-9678

BUG-ID:CLOUDSTACK-9678listNetworkOfferings API is listing all the offerings which has same prefix in their name

* pr/1833:
  BUG-ID:CLOUDSTACK-9678 listNetworkOfferings API is listing all the offerings which has same prefix in their name

Signed-off-by: Rajani Karuturi <rajani.karuturi@accelerite.com>
This commit is contained in:
Rajani Karuturi 2017-02-16 11:39:31 +05:30
commit c09a9f322e

View File

@ -4555,7 +4555,7 @@ public class ConfigurationManagerImpl extends ManagerBase implements Configurati
}
if (name != null) {
sc.addAnd("name", SearchCriteria.Op.LIKE, "%" + name + "%");
sc.addAnd("name", SearchCriteria.Op.EQ, name);
}
if (guestIpType != null) {