Skip to content

Commit

Permalink
add CHANGELOG entry
Browse files Browse the repository at this point in the history
Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>
  • Loading branch information
kaushalmahi12 committed Jan 7, 2025
1 parent cc729f9 commit 1e4030d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Introduce framework for auxiliary transports and an experimental gRPC transport plugin ([#16534](https://github.com/opensearch-project/OpenSearch/pull/16534))
- Changes to support IP field in star tree indexing([#16641](https://github.com/opensearch-project/OpenSearch/pull/16641/))
- Support object fields in star-tree index([#16728](https://github.com/opensearch-project/OpenSearch/pull/16728/))
- [Automated Tagging] Add In-memory data structure to store and process Rules. ([#16971](https://github.com/opensearch-project/OpenSearch/pull/16971))

### Dependencies
- Bump `com.google.cloud:google-cloud-core-http` from 2.23.0 to 2.47.0 ([#16504](https://github.com/opensearch-project/OpenSearch/pull/16504))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public RuleAttributeTrie() {
* @param value The value associated with the key.
*/
public void insert(String key, String value) {
if (!IsvalidValue(value)) {
if (!isValidValue(value)) {
throw new IllegalArgumentException(
"Invalid attribute value: " + value + " it should match the regex " + ALLOWED_ATTRIBUTE_VALUES
);
Expand All @@ -37,7 +37,7 @@ public void insert(String key, String value) {
root = inserter.insert();
}

private boolean IsvalidValue(String value) {
private boolean isValidValue(String value) {
return ALLOWED_ATTRIBUTE_VALUES.matches(value);
}

Expand Down

0 comments on commit 1e4030d

Please sign in to comment.