Remove global client variable and initialize it locally in tests which accidentally used it.

This commit is contained in:
jayunit100
2015-05-21 17:32:57 -04:00
parent 3e06df42e6
commit 56a356d577
3 changed files with 8 additions and 2 deletions

View File

@@ -20,11 +20,16 @@ import (
"fmt"
"strings"
"github.com/GoogleCloudPlatform/kubernetes/pkg/client"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
var _ = Describe("SSH", func() {
var c *client.Client = nil
BeforeEach(func() {
var err error
c, err = loadClient()