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
bdb7c24c
Unverified
Commit
bdb7c24c
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 #71243 from gnufied/fix-dummy-attachable-flex-driver
We do not pass device path to unmount device
parents
c945cd39
1570f39d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
3 deletions
+1
-3
detach_mounted.go
test/e2e/storage/detach_mounted.go
+1
-1
attachable-with-long-mount
...e/testing-manifests/flexvolume/attachable-with-long-mount
+0
-0
dummy-attachable
test/e2e/testing-manifests/flexvolume/dummy-attachable
+0
-2
No files found.
test/e2e/storage/detach_mounted.go
View file @
bdb7c24c
...
@@ -64,7 +64,7 @@ var _ = utils.SIGDescribe("Detaching volumes", func() {
...
@@ -64,7 +64,7 @@ var _ = utils.SIGDescribe("Detaching volumes", func() {
})
})
It
(
"should not work when mount is in progress"
,
func
()
{
It
(
"should not work when mount is in progress"
,
func
()
{
driver
:=
"attachable-with-long-
forma
t"
driver
:=
"attachable-with-long-
moun
t"
driverInstallAs
:=
driver
+
"-"
+
suffix
driverInstallAs
:=
driver
+
"-"
+
suffix
By
(
fmt
.
Sprintf
(
"installing flexvolume %s on node %s as %s"
,
path
.
Join
(
driverDir
,
driver
),
node
.
Name
,
driverInstallAs
))
By
(
fmt
.
Sprintf
(
"installing flexvolume %s on node %s as %s"
,
path
.
Join
(
driverDir
,
driver
),
node
.
Name
,
driverInstallAs
))
...
...
test/e2e/testing-manifests/flexvolume/attachable-with-long-
forma
t
→
test/e2e/testing-manifests/flexvolume/attachable-with-long-
moun
t
View file @
bdb7c24c
File moved
test/e2e/testing-manifests/flexvolume/dummy-attachable
View file @
bdb7c24c
...
@@ -81,8 +81,6 @@ domountdevice() {
...
@@ -81,8 +81,6 @@ domountdevice() {
unmountdevice
()
{
unmountdevice
()
{
debug
"unmountdevice
$@
"
debug
"unmountdevice
$@
"
MNTDEVICE
=
$2
validateMountDeviceOrDie
"
$MNTDEVICE
"
"unmountdevice"
MNTPATH
=
$1
MNTPATH
=
$1
rm
"
${
MNTPATH
}
/index.html"
>
/dev/null 2>&1
rm
"
${
MNTPATH
}
/index.html"
>
/dev/null 2>&1
umount
${
MNTPATH
}
>
/dev/null 2>&1
umount
${
MNTPATH
}
>
/dev/null 2>&1
...
...
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