We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 096a524 + 56fb4b1 commit ee8537cCopy full SHA for ee8537c
backend/src/main/java/com/park/utmstack/service/index_policy/IndexPolicyService.java
@@ -18,6 +18,7 @@
18
import org.springframework.util.StringUtils;
19
20
import java.util.List;
21
+import java.util.Arrays;
22
import java.util.Map;
23
import java.util.Optional;
24
@@ -56,7 +57,7 @@ public boolean isIndexRemovable(String index) {
56
57
JsonObject json = new Gson().fromJson(body, JsonObject.class);
58
if (json != null && json.has(index)) {
59
JsonObject indexInfo = json.getAsJsonObject(index);
- String state = this.getCurrentState(indexInfo)
60
+ String state = this.getCurrentState(indexInfo);
61
if (state != null) {
62
return Constants.STATE_DELETE.equals(state) || Constants.STATE_SAFE_DELETE.equals(state);
63
}
0 commit comments