Merge pull request #21583 from sjenning/rm-unused-func

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot
2016-03-03 03:48:15 -08:00

View File

@@ -18,7 +18,6 @@ package configmap
import ( import (
"fmt" "fmt"
"path"
"github.com/golang/glog" "github.com/golang/glog"
"k8s.io/kubernetes/pkg/api" "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. // This is the spec for the volume that this plugin wraps.
var wrappedVolumeSpec = volume.Spec{ var wrappedVolumeSpec = volume.Spec{
Volume: &api.Volume{VolumeSource: api.VolumeSource{EmptyDir: &api.EmptyDirVolumeSource{Medium: api.StorageMediumMemory}}}, Volume: &api.Volume{VolumeSource: api.VolumeSource{EmptyDir: &api.EmptyDirVolumeSource{Medium: api.StorageMediumMemory}}},