Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
d9d12fd3
Commit
d9d12fd3
authored
May 21, 2015
by
Robert Bailey
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8638 from jayunit100/fix_c_shadow
quick fix to global (and possibly shadowing) client var
parents
f3dd404b
56a356d5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
networking.go
test/e2e/networking.go
+0
-2
reboot.go
test/e2e/reboot.go
+3
-0
ssh.go
test/e2e/ssh.go
+5
-0
No files found.
test/e2e/networking.go
View file @
d9d12fd3
...
...
@@ -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
{}
...
...
test/e2e/reboot.go
View file @
d9d12fd3
...
...
@@ -55,6 +55,9 @@ const (
)
var
_
=
Describe
(
"Reboot"
,
func
()
{
var
c
*
client
.
Client
=
nil
BeforeEach
(
func
()
{
var
err
error
c
,
err
=
loadClient
()
...
...
test/e2e/ssh.go
View file @
d9d12fd3
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment