Skip to content

Commit

Permalink
HPCC-32041 Code review3
Browse files Browse the repository at this point in the history
- Remove superfluous decoding logic

Signed-off-by: Rodrigo Pastrana <[email protected]>
  • Loading branch information
rpastrana committed Jul 16, 2024
1 parent 3618ed8 commit e1e785d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions esp/services/ws_store/ws_storeService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,11 +359,7 @@ bool CwsstoreEx::onFetchKeyMetadata(IEspContext &context, IEspFetchKeyMDRequest
{
Owned<IEspKVPair> kvpair = createKVPair("","");

//it's possible this has been encoded, so decode it
StringBuffer decoded;
decodePtreeName(decoded, attributes->queryName());

kvpair->setKey(decoded.str());
kvpair->setKey(attributes->queryName());
kvpair->setValue(attributes->queryValue());
pairs.append(*kvpair.getClear());
}
Expand Down

0 comments on commit e1e785d

Please sign in to comment.