Merge pull request #70609 from jianglingxia/jlx201811031314

delete some para no need used in local volume
pull/58/head
k8s-ci-robot 2018-11-05 19:05:03 -08:00 committed by GitHub
commit 839c4ec7c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -572,7 +572,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"
)