Skip to content

Commit

Permalink
POLICY-139 Review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
arpit-at committed Sep 11, 2024
1 parent f2a925c commit 833e337
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5041,7 +5041,7 @@ public AtlasVertex moveBusinessPolicy(Set<String> policyIds, String assetId, Str
AtlasVertex assetVertex = AtlasGraphUtilsV2.findByGuid(graph, assetId);

if(assetVertex == null){
throw new AtlasBaseException(AtlasErrorCode.INVALID_PARAMETERS, "assetId not found");
throw new AtlasBaseException(AtlasErrorCode.INVALID_PARAMETERS, "asset not found");
}

// Get the sets of governed and non-compliant policy GUIDs
Expand Down

0 comments on commit 833e337

Please sign in to comment.