tests/vmi_gpu_test: fix ineffectual assignment to err
@@ -83,6 +83,7 @@ var _ = Describe("[Serial]GPU", func() {
It("[test_id:4608]Should create a valid VMI and appropriate libvirt domain", func() {
nodesList, err := virtClient.CoreV1().Nodes().List(metav1.ListOptions{})
+ Expect(err).ToNot(HaveOccurred())
var gpuName = ""
for _, item := range nodesList.Items {
resourceList := item.Status.Allocatable
