Skip to content

Commit a80fb70

Browse files
committed
remove last_successful_snapshot_timestamp
1 parent dc371ff commit a80fb70

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

x-pack/plugin/slm/src/main/java/org/elasticsearch/xpack/slm/SlmHealthIndicatorService.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -224,15 +224,6 @@ private static HealthIndicatorDetails createDetails(
224224
SnapshotLifecyclePolicyMetadata::getId,
225225
SnapshotLifecyclePolicyMetadata::getInvocationsSinceLastSuccess
226226
)
227-
),
228-
"last_successful_snapshot_timestamp",
229-
unhealthyPolicies.stream()
230-
.collect(
231-
Collectors.toMap(
232-
SnapshotLifecyclePolicyMetadata::getId,
233-
policy -> (policy.getLastSuccess() != null && policy.getLastSuccess().getSnapshotStartTimestamp() != null)
234-
? FORMATTER.formatMillis(policy.getLastSuccess().getSnapshotStartTimestamp()) : "N/A"
235-
)
236227
)
237228
)
238229
);

0 commit comments

Comments
 (0)