Detect underlying disk mount/unmount (#8408)

This commit is contained in:
Krishna Srinivas
2019-10-25 10:37:53 -07:00
committed by kannappanr
parent 8aaaa46be9
commit 980bf78b4d
13 changed files with 415 additions and 239 deletions
+3
View File
@@ -77,6 +77,9 @@ func (d *naughtyDisk) calcError() (err error) {
return nil
}
func (d *naughtyDisk) SetDiskID(id string) {
}
func (d *naughtyDisk) DiskInfo() (info DiskInfo, err error) {
if err := d.calcError(); err != nil {
return info, err