Remove Second LocalDevices Filter
This patch removes a second location where local devices with empty
volume information were being removed from the mappings.
@@ -464,12 +464,5 @@ func (c *client) getLocalDevices(
return nil, err
}
- // remove any local devices without values in the map
- for k, v := range ld.DeviceMap {
- if v == "" {
- delete(ld.DeviceMap, k)
- }
- }
-
return ld, nil
}
