Skip to content

Commit

Permalink
Adjust annotation
Browse files Browse the repository at this point in the history
Signed-off-by: Sicheng Song <[email protected]>
  • Loading branch information
b4sjoo committed Apr 15, 2024
1 parent 87f513b commit e8cd6d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public static MLCreateConnectorInput parse(XContentParser parser, boolean update
parameters = getParameterMap(parser.map());
break;
case CONNECTOR_CREDENTIAL_FIELD:
// We need to filter out any key string that is trying to imitate the subfield of the secretArn of the credential map
// We need to filter out any key string that is trying to imitate the subfield of any kind of ARN of the credential map
credential = new HashMap<>();
Map<String, String> credentialKeyToAdd = parser.mapStrings();
Pattern pattern = Pattern.compile("[a-zA-Z]+Arn\\.");
Expand Down

0 comments on commit e8cd6d1

Please sign in to comment.