We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccac3e1 commit 7ac3066Copy full SHA for 7ac3066
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/LifecycleOperationMetadata.java
@@ -91,6 +91,7 @@ public static OperationMode currentSLMMode(final ClusterState state) {
91
* back to {@link SnapshotLifecycleMetadata#getOperationMode()}. If neither exist, the default
92
* value for an empty state is used.
93
*/
94
+ @SuppressWarnings("deprecated")
95
public static OperationMode currentSLMMode(ProjectMetadata project) {
96
SnapshotLifecycleMetadata oldMetadata = project.custom(SnapshotLifecycleMetadata.TYPE);
97
LifecycleOperationMetadata currentMetadata = project.custom(LifecycleOperationMetadata.TYPE);
0 commit comments