From a8b195828ce80aec9f7eaeedb6d0d46bb60550c9 Mon Sep 17 00:00:00 2001 From: Deyuan Deng Date: Thu, 3 Aug 2017 11:10:01 +0800 Subject: [PATCH] Fix pointer bug in local volume e2e test --- test/e2e/storage/persistent_volumes-local.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/storage/persistent_volumes-local.go b/test/e2e/storage/persistent_volumes-local.go index 97a55953d27..4e26fe49d48 100644 --- a/test/e2e/storage/persistent_volumes-local.go +++ b/test/e2e/storage/persistent_volumes-local.go @@ -109,7 +109,7 @@ var _ = SIGDescribe("PersistentVolumes-local [Feature:LocalPersistentVolumes] [S Expect(len(nodes.Items)).NotTo(BeZero(), "No available nodes for scheduling") scName = fmt.Sprintf("%v-%v", testSCPrefix, f.Namespace.Name) // Choose the first node - node0 = &config.nodes.Items[0] + node0 = &nodes.Items[0] config = &localTestConfig{ ns: f.Namespace.Name,