remove unused function
This commit is contained in:
parent
8bda033ef1
commit
c3e707ea0f
@ -18,7 +18,6 @@ package configmap
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"path"
|
||||
|
||||
"github.com/golang/glog"
|
||||
"k8s.io/kubernetes/pkg/api"
|
||||
@ -106,10 +105,6 @@ func (sv *configMapVolume) GetAttributes() volume.Attributes {
|
||||
}
|
||||
}
|
||||
|
||||
func (b *configMapVolumeBuilder) getMetaDir() string {
|
||||
return path.Join(b.plugin.host.GetPodPluginDir(b.podUID, strings.EscapeQualifiedNameForDisk(configMapPluginName)), b.volName)
|
||||
}
|
||||
|
||||
// This is the spec for the volume that this plugin wraps.
|
||||
var wrappedVolumeSpec = volume.Spec{
|
||||
Volume: &api.Volume{VolumeSource: api.VolumeSource{EmptyDir: &api.EmptyDirVolumeSource{Medium: api.StorageMediumMemory}}},
|
||||
|
Loading…
Reference in New Issue
Block a user