Skip to content

Commit

Permalink
fix simulator CI failure test_04_list_storage_pools_keyword_filter
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhouapache committed Mar 20, 2024
1 parent 502a633 commit a5aa9ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ private SearchCriteria<StoragePoolVO> createStoragePoolSearchCriteria(Long stora
if (keyword != null) {
SearchCriteria<StoragePoolVO> ssc = createSearchCriteria();
ssc.addOr("name", SearchCriteria.Op.LIKE, "%" + keyword + "%");
ssc.addOr("poolType", SearchCriteria.Op.LIKE, "%" + keyword + "%");
ssc.addOr("poolType", SearchCriteria.Op.LIKE, new Storage.StoragePoolType("%" + keyword + "%"));

sc.addAnd("name", SearchCriteria.Op.SC, ssc);
}
Expand Down

0 comments on commit a5aa9ef

Please sign in to comment.