Skip to content

Commit 91a76a8

Browse files
authored
Merge pull request #5092 from ethan-daocloud/patch-2
cleanup: fix words in logging message
2 parents dea60ed + 84242bf commit 91a76a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/drivers/kvm/gpu.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ func getDevicesXML() (string, error) {
7171
for _, device := range unboundNVIDIADevices {
7272
splits := strings.Split(device, ":")
7373
if len(splits) != 3 {
74-
log.Infof("Error while parsing PCI device %q. Not splitable into domain:bus:slot.function.", device)
74+
log.Infof("Error while parsing PCI device %q. Not splittable into domain:bus:slot.function.", device)
7575
continue
7676
}
7777
parts := strings.Split(splits[2], ".")
7878
if len(parts) != 2 {
79-
log.Infof("Error while parsing PCI device %q. Not splitable into domain:bus:slot.function.", device)
79+
log.Infof("Error while parsing PCI device %q. Not splittable into domain:bus:slot.function.", device)
8080
continue
8181
}
8282
pciDevice := PCIDevice{
@@ -161,7 +161,7 @@ func getPassthroughableNVIDIADevices() ([]string, error) {
161161
}
162162
}
163163
if len(isolatedNVIDIADevices) == 0 {
164-
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/")
164+
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/")
165165
}
166166

167167
return isolatedNVIDIADevices, nil

0 commit comments

Comments
 (0)