Skip to content

Commit

Permalink
FIX little fix in test regression
Browse files Browse the repository at this point in the history
  • Loading branch information
fgalan committed Sep 11, 2024
1 parent 0b4627c commit 248e2d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/mongoBackend/MongoCommonUpdate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1515,7 +1515,7 @@ static bool matchAltType(orion::BSONObj sub, ngsiv2::SubAltType targetAltType)
// EntityUpdate is special, it is a "sub-type" of EntityChange
if (isChangeAltType(targetAltType))
{
if ((altType == ngsiv2::SubAltType::EntityUpdate) || (isChangeAltType(targetAltType)))
if ((altType == ngsiv2::SubAltType::EntityUpdate) || (isChangeAltType(altType)))
{
return true;
}
Expand Down

0 comments on commit 248e2d7

Please sign in to comment.