Unverified Commit 703ac550 authored by k8s-ci-robot's avatar k8s-ci-robot Committed by GitHub

Merge pull request #68880 from houjun41544/20180920-downward

Remove unused function in downwardapi.go
parents 7ac1f897 76c0dd58
......@@ -18,7 +18,6 @@ package downwardapi
import (
"fmt"
"path"
"path/filepath"
"k8s.io/api/core/v1"
......@@ -299,10 +298,6 @@ func (c *downwardAPIVolumeUnmounter) TearDownAt(dir string) error {
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) {
var readOnly bool
var volumeSource *v1.DownwardAPIVolumeSource
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment