Skip to content

Commit

Permalink
Merge pull request #2465 from atlanhq/PLT-302
Browse files Browse the repository at this point in the history
PLT-302 Fix logging
  • Loading branch information
nikhilbonte21 authored Nov 10, 2023
2 parents aff75ca + 1ea33b4 commit 61cb2ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ private void personaPolicyToESDslClauses(List<AtlasEntity> policies,
int assetSize = terms.size() + assets.size() + 1;
if (assetSize > assetsMaxLimit) {
// For Metadata policies, along with assets we add 1 more clause for connection qualifiedName hence comparing with "assets.size() + 1"
throw new AtlasBaseException(AtlasErrorCode.PERSONA_POLICY_ASSETS_LIMIT_EXCEEDED, String.valueOf(assetsMaxLimit), String.valueOf(terms.size() + assets.size() + 1));
throw new AtlasBaseException(AtlasErrorCode.PERSONA_POLICY_ASSETS_LIMIT_EXCEEDED, String.valueOf(assetsMaxLimit), String.valueOf(assetSize));
}

String connectionQName = getPolicyConnectionQN(policy);
Expand Down

0 comments on commit 61cb2ba

Please sign in to comment.