Commit d9d12fd3 authored by Robert Bailey's avatar Robert Bailey

Merge pull request #8638 from jayunit100/fix_c_shadow

quick fix to global (and possibly shadowing) client var
parents f3dd404b 56a356d5
......@@ -31,8 +31,6 @@ import (
. "github.com/onsi/gomega"
)
var c *client.Client = nil
func LaunchNetTestPodPerNode(nodes *api.NodeList, name string, c *client.Client, ns string) []string {
podNames := []string{}
......
......@@ -55,6 +55,9 @@ const (
)
var _ = Describe("Reboot", func() {
var c *client.Client = nil
BeforeEach(func() {
var err error
c, err = loadClient()
......
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment