You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/rule/storage/DefaultAttributeValueStore.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ public Optional<V> get(String key) {
50
50
* 1. There is a Rule which has this prefix as one of the attribute values. In this case we should return the
51
51
* Rule's label otherwise send empty
52
52
*/
53
-
for (Map.Entry<String, V> possibleMatch :trie.prefixMap(longestMatchingPrefix).entrySet()) {
53
+
for (Map.Entry<String, V> possibleMatch :trie.prefixMap(longestMatchingPrefix).entrySet()) {
54
54
if (key.startsWith(possibleMatch.getKey())) {
55
55
returnOptional.of(possibleMatch.getValue());
56
56
}
@@ -61,7 +61,7 @@ public Optional<V> get(String key) {
Copy file name to clipboardExpand all lines: plugins/workload-management/src/test/java/org/opensearch/plugin/wlm/rule/storage/AttributeValueStoreTests.java
0 commit comments