Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Gao Binlong <gbinlong@amazon.com>
  • Loading branch information
gaobinlong committed Aug 30, 2024
1 parent e016a42 commit 03b13b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ private static class Defaults {
throw new IllegalArgumentException("search_backpressure.search_shard_task.cancellation_ratio must be > 0");
}
if (value > 1.0) {
throw new IllegalArgumentException("search_backpressure.search_shard_task.cancellation_ratio must <= 1.0");
throw new IllegalArgumentException("search_backpressure.search_shard_task.cancellation_ratio must be <= 1.0");
}

Check warning on line 57 in server/src/main/java/org/opensearch/search/backpressure/settings/SearchShardTaskSettings.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/search/backpressure/settings/SearchShardTaskSettings.java#L56-L57

Added lines #L56 - L57 were not covered by tests
},
Setting.Property.Dynamic,
Expand Down

0 comments on commit 03b13b3

Please sign in to comment.