Skip to content

Commit

Permalink
Merge pull request #195 from klueska/fix-error-string
Browse files Browse the repository at this point in the history
Fix incorrect error string
  • Loading branch information
klueska authored Oct 28, 2024
2 parents f5a923a + 8de3e1b commit 6c94abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/nvidia-dra-plugin/nvlib.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func (l deviceLib) enumerateAllPossibleDevices(config *Config) (AllocatableDevic
if deviceClasses.Has(GpuDeviceType) || deviceClasses.Has(MigDeviceType) {
gms, err := l.enumerateGpusAndMigDevices(config)
if err != nil {
return nil, fmt.Errorf("error enumerating IMEX devices: %w", err)
return nil, fmt.Errorf("error enumerating GPUs and MIG devices: %w", err)
}
for k, v := range gms {
alldevices[k] = v
Expand Down

0 comments on commit 6c94abc

Please sign in to comment.