Skip to content

Commit b2f4bf3

Browse files
Update server/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/status/SnapshotStats.java
Adjust forMissingStats() javadoc Co-authored-by: Dianna Hohensee <[email protected]>
1 parent a8b2d2e commit b2f4bf3

File tree

1 file changed

+1
-1
lines changed
  • server/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/status

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/status/SnapshotStats.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public class SnapshotStats implements Writeable, ToXContentObject {
8787
}
8888

8989
/**
90-
* Returns a stats instance with -1 for all non-time values, for use in situations where the snapshot stats are unavailable.
90+
* Returns a stats instance with invalid field values for use in situations where the snapshot stats are unavailable.
9191
*/
9292
public static SnapshotStats forMissingStats() {
9393
return new SnapshotStats(0L, 0L, -1, -1, -1, -1L, -1L, -1L);

0 commit comments

Comments
 (0)