Skip to content

Commit

Permalink
Merge pull request kubernetes#5092 from ethan-daocloud/patch-2
Browse files Browse the repository at this point in the history
cleanup: fix words in logging message
  • Loading branch information
tstromberg authored Aug 15, 2019
2 parents dea60ed + 84242bf commit 91a76a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/drivers/kvm/gpu.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ func getDevicesXML() (string, error) {
for _, device := range unboundNVIDIADevices {
splits := strings.Split(device, ":")
if len(splits) != 3 {
log.Infof("Error while parsing PCI device %q. Not splitable into domain:bus:slot.function.", device)
log.Infof("Error while parsing PCI device %q. Not splittable into domain:bus:slot.function.", device)
continue
}
parts := strings.Split(splits[2], ".")
if len(parts) != 2 {
log.Infof("Error while parsing PCI device %q. Not splitable into domain:bus:slot.function.", device)
log.Infof("Error while parsing PCI device %q. Not splittable into domain:bus:slot.function.", device)
continue
}
pciDevice := PCIDevice{
Expand Down Expand Up @@ -161,7 +161,7 @@ func getPassthroughableNVIDIADevices() ([]string, error) {
}
}
if len(isolatedNVIDIADevices) == 0 {
return []string{}, fmt.Errorf("some unbound NVIDIA devices were found but they had other devices in their IOMMU group that were bound. See instructoins at https://minikube.sigs.k8s.io/docs/tutorials/nvidia_gpu/")
return []string{}, fmt.Errorf("some unbound NVIDIA devices were found but they had other devices in their IOMMU group that were bound. See instructions at https://minikube.sigs.k8s.io/docs/tutorials/nvidia_gpu/")
}

return isolatedNVIDIADevices, nil
Expand Down

0 comments on commit 91a76a8

Please sign in to comment.