Update e2e/suite_test.go
@@ -85,6 +85,7 @@ func getDaemonsetLvmdNodeName() string {
var nodes corev1.NodeList
err = json.Unmarshal(stdout, &nodes)
Expect(err).ShouldNot(HaveOccurred())
+ Expect(nodes.Items).Should(HaveLen(1))
return nodes.Items[0].Name
}
