Skip to content

Commit 9b819a5

Browse files
committed
Fix effective resource default label
1 parent 40cabab commit 9b819a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/DataStreamUsageTransportAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ protected void localClusterStateOperation(
107107
if (effectiveDataRetentionWithSource.v2().equals(DataStreamLifecycle.RetentionSource.MAX_GLOBAL_RETENTION)) {
108108
affectedByMaxRetentionCounter++;
109109
}
110-
if (effectiveDataRetentionWithSource.v2().equals(DataStreamLifecycle.RetentionSource.DEFAULT_GLOBAL_RETENTION)) {
110+
if (effectiveDataRetentionWithSource.v2().equals(DataStreamLifecycle.RetentionSource.DEFAULT_FAILURES_RETENTION)) {
111111
affectedByDefaultRetentionCounter++;
112112
}
113113
}

0 commit comments

Comments
 (0)