mirror of
https://github.com/minio/minio.git
synced 2026-11-03 08:24:20 +00:00
avoid a crash in crawler when lifecycle is not initialized (#11170)
Bonus for static buffers use bytes.NewReader instead of bytes.NewBuffer, to use a more reader friendly implementation
This commit is contained in:
1 parent
d3c853a3be
commit
c19e6ce773
16 files changed
+177
-87
No files matched your search
+11
-10
@@ -25,16 +25,17 @@ import (
|
||||
// DiskInfo is an extended type which returns current
|
||||
// disk usage per path.
|
||||
type DiskInfo struct {
|
||||
Total uint64
|
||||
Free uint64
|
||||
Used uint64
|
||||
FSType string
|
||||
RootDisk bool
|
||||
Healing bool
|
||||
Endpoint string
|
||||
MountPath string
|
||||
ID string
|
||||
Error string // carries the error over the network
|
||||
Total uint64
|
||||
Free uint64
|
||||
Used uint64
|
||||
UsedInodes uint64
|
||||
FSType string
|
||||
RootDisk bool
|
||||
Healing bool
|
||||
Endpoint string
|
||||
MountPath string
|
||||
ID string
|
||||
Error string // carries the error over the network
|
||||
}
|
||||
|
||||
// VolsInfo is a collection of volume(bucket) information
|
||||
|
||||
Reference in new issue
Block a user