Skip to content

Commit 7ac3066

Browse files
committed
Readd warning suppression
1 parent ccac3e1 commit 7ac3066

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/LifecycleOperationMetadata.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ public static OperationMode currentSLMMode(final ClusterState state) {
9191
* back to {@link SnapshotLifecycleMetadata#getOperationMode()}. If neither exist, the default
9292
* value for an empty state is used.
9393
*/
94+
@SuppressWarnings("deprecated")
9495
public static OperationMode currentSLMMode(ProjectMetadata project) {
9596
SnapshotLifecycleMetadata oldMetadata = project.custom(SnapshotLifecycleMetadata.TYPE);
9697
LifecycleOperationMetadata currentMetadata = project.custom(LifecycleOperationMetadata.TYPE);

0 commit comments

Comments
 (0)