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
703ac550
Unverified
Commit
703ac550
authored
Nov 05, 2018
by
k8s-ci-robot
Committed by
GitHub
Nov 05, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #68880 from houjun41544/20180920-downward
Remove unused function in downwardapi.go
parents
7ac1f897
76c0dd58
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
downwardapi.go
pkg/volume/downwardapi/downwardapi.go
+0
-5
No files found.
pkg/volume/downwardapi/downwardapi.go
View file @
703ac550
...
@@ -18,7 +18,6 @@ package downwardapi
...
@@ -18,7 +18,6 @@ package downwardapi
import
(
import
(
"fmt"
"fmt"
"path"
"path/filepath"
"path/filepath"
"k8s.io/api/core/v1"
"k8s.io/api/core/v1"
...
@@ -299,10 +298,6 @@ func (c *downwardAPIVolumeUnmounter) TearDownAt(dir string) error {
...
@@ -299,10 +298,6 @@ func (c *downwardAPIVolumeUnmounter) TearDownAt(dir string) error {
return
volumeutil
.
UnmountViaEmptyDir
(
dir
,
c
.
plugin
.
host
,
c
.
volName
,
wrappedVolumeSpec
(),
c
.
podUID
)
return
volumeutil
.
UnmountViaEmptyDir
(
dir
,
c
.
plugin
.
host
,
c
.
volName
,
wrappedVolumeSpec
(),
c
.
podUID
)
}
}
func
(
b
*
downwardAPIVolumeMounter
)
getMetaDir
()
string
{
return
path
.
Join
(
b
.
plugin
.
host
.
GetPodPluginDir
(
b
.
podUID
,
utilstrings
.
EscapeQualifiedNameForDisk
(
downwardAPIPluginName
)),
b
.
volName
)
}
func
getVolumeSource
(
spec
*
volume
.
Spec
)
(
*
v1
.
DownwardAPIVolumeSource
,
bool
)
{
func
getVolumeSource
(
spec
*
volume
.
Spec
)
(
*
v1
.
DownwardAPIVolumeSource
,
bool
)
{
var
readOnly
bool
var
readOnly
bool
var
volumeSource
*
v1
.
DownwardAPIVolumeSource
var
volumeSource
*
v1
.
DownwardAPIVolumeSource
...
...
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