remove unused function

This commit is contained in:
Seth Jennings 2016-02-19 15:19:15 -06:00
parent 8bda033ef1
commit c3e707ea0f

View File

@ -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}}},