Skip to content

Commit ee8537c

Browse files
authored
Merge pull request #1970 from utmstack/hotfix/index_removal
fix[backend](index-removal): fixed compilation errors on index removal
2 parents 096a524 + 56fb4b1 commit ee8537c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

backend/src/main/java/com/park/utmstack/service/index_policy/IndexPolicyService.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import org.springframework.util.StringUtils;
1919

2020
import java.util.List;
21+
import java.util.Arrays;
2122
import java.util.Map;
2223
import java.util.Optional;
2324

@@ -56,7 +57,7 @@ public boolean isIndexRemovable(String index) {
5657
JsonObject json = new Gson().fromJson(body, JsonObject.class);
5758
if (json != null && json.has(index)) {
5859
JsonObject indexInfo = json.getAsJsonObject(index);
59-
String state = this.getCurrentState(indexInfo)
60+
String state = this.getCurrentState(indexInfo);
6061
if (state != null) {
6162
return Constants.STATE_DELETE.equals(state) || Constants.STATE_SAFE_DELETE.equals(state);
6263
}

0 commit comments

Comments
 (0)