diff --git a/internal/info/proc/devices/devices.go b/internal/info/proc/devices/devices.go index e0863f97..5927c837 100644 --- a/internal/info/proc/devices/devices.go +++ b/internal/info/proc/devices/devices.go @@ -67,7 +67,7 @@ func (d devices) Count() int { // Exists checks if a Device with a given name exists or not func (d devices) Exists(name Name) bool { - _, exists := d[name] + _, exists := d.Get(name) return exists }