Skip to content

Commit

Permalink
feat:[PLG-428] Policy Engine changes. (#2061)
Browse files Browse the repository at this point in the history
Co-authored-by: ARUN KUMAR KOTTARATTIL <[email protected]>
  • Loading branch information
2 people authored and akashpaladin committed Jan 31, 2024
1 parent a2f3227 commit 7057dfa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ private void run(Map<String, String> policyParam, String executionId)
logger.error(DATA_ALERT_ERROR_STRING + JOB_NAME + " with job id " + policyParam.get(PacmanSdkConstants.POLICY_UUID_KEY) +
"data source is missing, will not be able to figure out the target index to post the policy evaluvation, please check policy configuration");
logger.error("exiting now..");
ProgramExitUtils.exitWithError();
return;
}

logger.debug("target Type :" + policyParam.get(PacmanSdkConstants.TARGET_TYPE));
Expand Down Expand Up @@ -321,7 +321,7 @@ private void run(Map<String, String> policyParam, String executionId)
+ policyParam.get(PacmanSdkConstants.POLICY_UUID_KEY)
+ "Exception occurred for policy with policyId:" + policyParam.get(PacmanSdkConstants.POLICY_ID));
logger.error("exiting now.." + e);
ProgramExitUtils.exitWithError();
return;
}

// if resources size is not equals to number of evaluations then we have
Expand Down

0 comments on commit 7057dfa

Please sign in to comment.