Skip to content

Commit 4b4dfef

Browse files
fix simulator CI failure test_04_list_storage_pools_keyword_filter (#8814)
1 parent 12f65fb commit 4b4dfef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/schema/src/main/java/org/apache/cloudstack/storage/datastore/db/PrimaryDataStoreDaoImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ private SearchCriteria<StoragePoolVO> createStoragePoolSearchCriteria(Long stora
723723
if (keyword != null) {
724724
SearchCriteria<StoragePoolVO> ssc = createSearchCriteria();
725725
ssc.addOr("name", SearchCriteria.Op.LIKE, "%" + keyword + "%");
726-
ssc.addOr("poolType", SearchCriteria.Op.LIKE, "%" + keyword + "%");
726+
ssc.addOr("poolType", SearchCriteria.Op.LIKE, new Storage.StoragePoolType("%" + keyword + "%"));
727727

728728
sc.addAnd("name", SearchCriteria.Op.SC, ssc);
729729
}

0 commit comments

Comments
 (0)