mirror of
https://github.com/pgsty/minio.git
synced 2026-08-11 00:33:28 +03:00
Protect shutdown callbacks lists with a mutex (#2432)
This commit is contained in:
committed by
Harshavardhana
parent
9606cb9bcd
commit
5526ac13d2
@@ -206,6 +206,12 @@ func newXLObjects(disks, ignoredDisks []string) (ObjectLayer, error) {
|
||||
return xl, nil
|
||||
}
|
||||
|
||||
// Shutdown function for object storage interface.
|
||||
func (xl xlObjects) Shutdown() error {
|
||||
// Add any object layer shutdown activities here.
|
||||
return nil
|
||||
}
|
||||
|
||||
// byDiskTotal is a collection satisfying sort.Interface.
|
||||
type byDiskTotal []disk.Info
|
||||
|
||||
|
||||
Reference in New Issue
Block a user