From a4ce39248a6e9487a06481b38f75fda1ae73cd88 Mon Sep 17 00:00:00 2001 From: jianglingxia Date: Wed, 25 Oct 2017 16:51:56 +0800 Subject: [PATCH 1/2] Delete the parentheses in volumes.go --- test/e2e/storage/volumes.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/e2e/storage/volumes.go b/test/e2e/storage/volumes.go index f3bfc0f2be4..ad19b30abb8 100644 --- a/test/e2e/storage/volumes.go +++ b/test/e2e/storage/volumes.go @@ -535,9 +535,7 @@ var _ = SIGDescribe("Volumes", func() { Describe("vsphere [Feature:Volumes]", func() { It("should be mountable", func() { framework.SkipUnlessProviderIs("vsphere") - var ( - volumePath string - ) + var volumePath string config := framework.VolumeTestConfig{ Namespace: namespace.Name, Prefix: "vsphere", From 23fbb70291e6bd695af6c8ead33234da066d971c Mon Sep 17 00:00:00 2001 From: jianglingxia Date: Wed, 25 Oct 2017 17:08:03 +0800 Subject: [PATCH 2/2] in persistent_volumes-local.go has the parentheses of var define --- test/e2e/storage/persistent_volumes-local.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/e2e/storage/persistent_volumes-local.go b/test/e2e/storage/persistent_volumes-local.go index 58fbb48d7fe..989e3b0b4b5 100644 --- a/test/e2e/storage/persistent_volumes-local.go +++ b/test/e2e/storage/persistent_volumes-local.go @@ -300,9 +300,7 @@ var _ = SIGDescribe("PersistentVolumes-local [Feature:LocalPersistentVolumes] [S }) Context("when using local volume provisioner", func() { - var ( - volumePath string - ) + var volumePath string BeforeEach(func() { setupLocalVolumeProvisioner(config)