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
a5887009
Unverified
Commit
a5887009
authored
Dec 06, 2018
by
Kubernetes Prow Robot
Committed by
GitHub
Dec 06, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #68275 from tanshanshan/fixtypo-0905-2
nits in e2e test
parents
1cd6ccb3
33046e3a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
config.go
test/e2e/storage/vsphere/config.go
+4
-3
pvc_label_selector.go
test/e2e/storage/vsphere/pvc_label_selector.go
+1
-2
No files found.
test/e2e/storage/vsphere/config.go
View file @
a5887009
...
...
@@ -19,10 +19,11 @@ package vsphere
import
(
"errors"
"fmt"
"gopkg.in/gcfg.v1"
"io"
"k8s.io/kubernetes/test/e2e/framework"
"os"
"gopkg.in/gcfg.v1"
"k8s.io/kubernetes/test/e2e/framework"
)
const
(
...
...
@@ -147,7 +148,7 @@ func populateInstanceMap(cfg *ConfigFile) (map[string]*VSphere, error) {
vcConfig
.
Password
=
cfg
.
Global
.
Password
}
if
vcConfig
.
Username
==
""
{
msg
:=
fmt
.
Sprintf
(
"vcConfig.User is empty for vc %s!"
,
vcServer
)
msg
:=
fmt
.
Sprintf
(
"vcConfig.User
name
is empty for vc %s!"
,
vcServer
)
framework
.
Logf
(
msg
)
return
nil
,
errors
.
New
(
msg
)
}
...
...
test/e2e/storage/vsphere/pvc_label_selector.go
View file @
a5887009
...
...
@@ -105,9 +105,8 @@ var _ = utils.SIGDescribe("PersistentVolumes [Feature:LabelSelector]", func() {
})
func
testSetupVSpherePVClabelselector
(
c
clientset
.
Interface
,
nodeInfo
*
NodeInfo
,
ns
string
,
ssdlabels
map
[
string
]
string
,
vvollabels
map
[
string
]
string
)
(
volumePath
string
,
pv_ssd
*
v1
.
PersistentVolume
,
pvc_ssd
*
v1
.
PersistentVolumeClaim
,
pvc_vvol
*
v1
.
PersistentVolumeClaim
,
err
error
)
{
volumePath
=
""
By
(
"creating vmdk"
)
Expect
(
err
)
.
NotTo
(
HaveOccurred
())
volumePath
=
""
volumePath
,
err
=
nodeInfo
.
VSphere
.
CreateVolume
(
&
VolumeOptions
{},
nodeInfo
.
DataCenterRef
)
if
err
!=
nil
{
return
...
...
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