From 833e3372dde5e331acfee1c1a6576ed10912b99b Mon Sep 17 00:00:00 2001 From: arpit-at Date: Wed, 11 Sep 2024 19:12:48 +0530 Subject: [PATCH] POLICY-139 Review fixes --- .../atlas/repository/store/graph/v2/EntityGraphMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java index e95dedbf77..c58631f9f4 100644 --- a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java +++ b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java @@ -5041,7 +5041,7 @@ public AtlasVertex moveBusinessPolicy(Set 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