admin-info: Include delete markers count (#4642)

This commit is contained in:
Krishnan Parthasarathi
2023-07-19 15:54:09 -07:00
committed by GitHub
parent c04a480dd3
commit 057470183f
+4 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2015-2022 MinIO, Inc.
// Copyright (c) 2015-2023 MinIO, Inc.
//
// This file is part of MinIO Object Storage stack
//
@@ -285,6 +285,9 @@ func (u clusterStruct) String() (msg string) {
if u.Info.Versions.Count > 0 {
msg += ", " + english.Plural(int(u.Info.Versions.Count), "Version", "")
}
if u.Info.DeleteMarkers.Count > 0 {
msg += ", " + english.Plural(int(u.Info.DeleteMarkers.Count), "Delete Marker", "")
}
msg += "\n"
}
if backendType == madmin.Erasure {