Skip to content

Commit

Permalink
Fix typo in unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Ketan Kulkarni <[email protected]>
  • Loading branch information
kulket committed Jul 12, 2023
1 parent 1e44338 commit e0490ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static void validatePersonalizeIntelligentRankerConfiguration (Personaliz
}
// Validate IAM Role Arn for Personalize access
String iamRoleArn = config.getIamRoleArn();
if(!(iamRoleArn != null || iamRoleArn.isBlank()) && !isValidCampaignOrRoleArn(iamRoleArn, "iam")) {
if(!(iamRoleArn == null || iamRoleArn.isBlank()) && !isValidCampaignOrRoleArn(iamRoleArn, "iam")) {
throw ConfigurationUtils.newConfigurationException(processorType, processorTag, "iam_role_arn", "invalid format for Personalize iam role arn");
}
// Validate Personalize recipe
Expand Down

0 comments on commit e0490ff

Please sign in to comment.