delete some para no need used in local volume

pull/58/head
jianglingxia 2018-11-03 14:03:47 +08:00
parent d50e920906
commit 0c79df1bcb
2 changed files with 1 additions and 2 deletions

View File

@ -573,7 +573,7 @@ type localVolumeUnmapper struct {
var _ volume.BlockVolumeUnmapper = &localVolumeUnmapper{}
// TearDownDevice will undo SetUpDevice procedure. In local PV, all of this already handled by operation_generator.
func (u *localVolumeUnmapper) TearDownDevice(mapPath, devicePath string) error {
func (u *localVolumeUnmapper) TearDownDevice(mapPath, _ string) error {
glog.V(4).Infof("local: TearDownDevice completed for: %s", mapPath)
return nil
}

View File

@ -41,7 +41,6 @@ const (
testMountPath = "pods/poduid/volumes/kubernetes.io~local-volume/pvA"
testGlobalPath = "plugins/kubernetes.io~local-volume/volumeDevices/pvA"
testPodPath = "pods/poduid/volumeDevices/kubernetes.io~local-volume"
testNodeName = "fakeNodeName"
testBlockFormattingToFSGlobalPath = "plugins/kubernetes.io/local-volume/mounts/pvA"
)