Skip to content

Commit

Permalink
Merge pull request #380 from tariq1890/cpick-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
cdesiniotis committed Feb 27, 2024
2 parents 5d246ad + 3a0c989 commit 5605d19
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 5605d19

Please sign in to comment.