Skip to content

Commit

Permalink
HPCC-30360 Allow empty kind attribute when listing Groups
Browse files Browse the repository at this point in the history
Signed-off-by: wangkx <[email protected]>
  • Loading branch information
wangkx committed Sep 27, 2023
1 parent cbb5ae2 commit 5ab247a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp/smc/SMCLib/TpWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,7 @@ void CTpWrapper::getGroupList(double espVersion, const char* kindReq, IArrayOf<I
{
IPropertyTree &group = groups->query();
const char* kind = group.queryProp("@kind");
if (kindReq && *kindReq && !strieq(kindReq, kind))
if (!isEmptyString(kindReq) && !strisame(kindReq, kind))
continue;

IEspTpGroup* pGroup = createTpGroup("","");
Expand Down

0 comments on commit 5ab247a

Please sign in to comment.