Fixes of make && make generate
@@ -175,7 +175,6 @@ const (
ViewServiceAccountName = "kubevirt-view-test-sa"
)
-
const SubresourceTestLabel = "subresource-access-test-pod"
const namespaceKubevirt = "kubevirt"
const kubevirtConfig = "kubevirt-config"
@@ -2444,7 +2443,7 @@ func WaitForPodToDisappearWithTimeout(podName string, seconds int) {
EventuallyWithOffset(1, func() bool {
_, err := virtClient.CoreV1().Pods(NamespaceTestDefault).Get(podName, metav1.GetOptions{})
return errors.IsNotFound(err)
- }, seconds*time.Second, 1*time.Second).Should(BeTrue())
+ }, seconds, 1*time.Second).Should(BeTrue())
}
func WaitForVirtualMachineToDisappearWithTimeout(vmi *v1.VirtualMachineInstance, seconds int) {
