func (pe *ProbeEvent) removeBlockDeviceFromHierarchyCache(bd blockdevice.BlockDevice) bool {
	_, ok := pe.Controller.BDHierarchy[bd.DevPath]
	if !ok {
		klog.Infof("Disk %s not in hierarchy", bd.DevPath)
		// not in hierarchy continue
		return false
	}
	// remove from the hierarchy
	delete(pe.Controller.BDHierarchy, bd.DevPath)
	return true
}
// removeBlockDeviceFromHierarchyCache removes a block device from the hierarchy.
// returns true if the device existed in the cache, else returns false
removeBlockDeviceFromHierarchyCache removes a block device from the hierarchy.
returns true if the device existed in the cache, else returns false
// removeBlockDeviceFromHierarchyCache removes a block device from the hierarchy . // returns true if the device existed in the cache else returns false
func (pe *ProbeEvent) removeBlockDeviceFromHierarchyCache(bd blockdevice.BlockDevice) bool {
	_, ok := pe.Controller.BDHierarchy[bd.DevPath]
	if !ok {
		klog.Infof("Disk %s not in hierarchy", bd.DevPath)
		return false
	}
	delete(pe.Controller.BDHierarchy, bd.DevPath)
	return true
}
func ( pe * ProbeEvent ) removeBlockDeviceFromHierarchyCache ( bd blockdevice . BlockDevice ) bool { _ , ok := pe . Controller . BDHierarchy [ bd . DevPath ] if ! ok { klog . Infof ( " " , bd . DevPath ) return false } delete ( pe . Controller . BDHierarchy , bd . DevPath ) return true }
removeBlockDeviceFromHierarchyCache removes a block device from the hierarchy.
removeBlockDeviceFromHierarchyCache removes a block device from the hierarchy .
// not in hierarchy continue // remove from the hierarchy