From c3e707ea0fe64ee8fd990f05e6918667f59ba514 Mon Sep 17 00:00:00 2001 From: Seth Jennings Date: Fri, 19 Feb 2016 15:19:15 -0600 Subject: [PATCH] remove unused function --- pkg/volume/configmap/configmap.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/volume/configmap/configmap.go b/pkg/volume/configmap/configmap.go index 0cbee39a696..95a795a9d68 100644 --- a/pkg/volume/configmap/configmap.go +++ b/pkg/volume/configmap/configmap.go @@ -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}}},