admin-info: Include delete markers count (#4642)
This commit is contained in:
+4
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user