libvirt version is not found in last 100 lines
We assume that libvirt version is found when we do tail -100,
however the libvirt version is found on head of file and file
can contain more than 100 lines.
This change looks for libvirt version on all content of file.
@@ -1458,11 +1458,9 @@ func getVirtLauncherLogs(virtCli kubecli.KubevirtClient, vmi *v1.VirtualMachineI
}
Expect(podName).ToNot(BeEmpty(), "Should find pod not scheduled for deletion")
- var tailLines int64 = 100
logsRaw, err := virtCli.CoreV1().
Pods(namespace).
GetLogs(podName, &k8sv1.PodLogOptions{
- TailLines: &tailLines,
Container: "compute",
}).
DoRaw()
