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
7e875a0f
Commit
7e875a0f
authored
Apr 22, 2015
by
Zach Loafman
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7167 from pmorie/typo
Fix typo in secrets integration test
parents
854c20c5
d381db17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
secret_test.go
test/integration/secret_test.go
+2
-2
No files found.
test/integration/secret_test.go
View file @
7e875a0f
...
...
@@ -39,7 +39,7 @@ func init() {
func
deletePodOrErrorf
(
t
*
testing
.
T
,
c
*
client
.
Client
,
ns
,
name
string
)
{
if
err
:=
c
.
Pods
(
ns
)
.
Delete
(
name
);
err
!=
nil
{
t
.
Errorf
(
"unable to delete pod
s
%v: %v"
,
name
,
err
)
t
.
Errorf
(
"unable to delete pod %v: %v"
,
name
,
err
)
}
}
func
deleteSecretOrErrorf
(
t
*
testing
.
T
,
c
*
client
.
Client
,
ns
,
name
string
)
{
...
...
@@ -136,7 +136,7 @@ func DoTestSecrets(t *testing.T, client *client.Client, apiVersion string) {
defer
deletePodOrErrorf
(
t
,
client
,
ns
,
pod
.
Name
)
// Create a pod that consumes non-existent secret.
pod
.
ObjectMeta
.
Name
=
"uses-non-exist
a
nt-secret"
pod
.
ObjectMeta
.
Name
=
"uses-non-exist
e
nt-secret"
if
_
,
err
:=
client
.
Pods
(
ns
)
.
Create
(
pod
);
err
!=
nil
{
t
.
Errorf
(
"Failed to create pod: %v"
,
err
)
}
...
...
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