Skip to content

Commit

Permalink
Merge pull request #379 from NVIDIA/exists-fallback
Browse files Browse the repository at this point in the history
[R550 driver support] add fallback logic to device.Exists(name)
  • Loading branch information
elezar authored Feb 27, 2024
2 parents ac63063 + f80f4c4 commit 6780afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/info/proc/devices/devices.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 6780afb

Please sign in to comment.