Project native FreeBSD packages, interfaces, hardware and login observations
This commit is contained in:
@@ -321,6 +321,7 @@ fn device_type(hardware: &Value) -> Option<DeviceType> {
|
||||
fn inventory_device_type(data: &Value) -> Option<DeviceType> {
|
||||
device_type(observed(data, "linux.hardware"))
|
||||
.or_else(|| device_type(observed(data, "windows.hardware")))
|
||||
.or_else(|| device_type(&data["hardware"]))
|
||||
}
|
||||
|
||||
fn hostname_filter(query: Option<&str>) -> Result<&str, Error> {
|
||||
|
||||
Reference in New Issue
Block a user