From 84242bf2c1b4393fcb5d8baf6690732822ee0573 Mon Sep 17 00:00:00 2001 From: Guangming Wang Date: Thu, 15 Aug 2019 20:53:28 +0800 Subject: [PATCH] cleanup: fix words in logging message Signed-off-by: Guangming Wang --- pkg/drivers/kvm/gpu.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/drivers/kvm/gpu.go b/pkg/drivers/kvm/gpu.go index 550846622e..2e2376f494 100644 --- a/pkg/drivers/kvm/gpu.go +++ b/pkg/drivers/kvm/gpu.go @@ -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{ @@ -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