Unverified Commit 839c4ec7 authored by k8s-ci-robot's avatar k8s-ci-robot Committed by GitHub

Merge pull request #70609 from jianglingxia/jlx201811031314

delete some para no need used in local volume
parents e40209a4 0c79df1b
...@@ -572,7 +572,7 @@ type localVolumeUnmapper struct { ...@@ -572,7 +572,7 @@ type localVolumeUnmapper struct {
var _ volume.BlockVolumeUnmapper = &localVolumeUnmapper{} var _ volume.BlockVolumeUnmapper = &localVolumeUnmapper{}
// TearDownDevice will undo SetUpDevice procedure. In local PV, all of this already handled by operation_generator. // 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) glog.V(4).Infof("local: TearDownDevice completed for: %s", mapPath)
return nil return nil
} }
......
...@@ -41,7 +41,6 @@ const ( ...@@ -41,7 +41,6 @@ const (
testMountPath = "pods/poduid/volumes/kubernetes.io~local-volume/pvA" testMountPath = "pods/poduid/volumes/kubernetes.io~local-volume/pvA"
testGlobalPath = "plugins/kubernetes.io~local-volume/volumeDevices/pvA" testGlobalPath = "plugins/kubernetes.io~local-volume/volumeDevices/pvA"
testPodPath = "pods/poduid/volumeDevices/kubernetes.io~local-volume" testPodPath = "pods/poduid/volumeDevices/kubernetes.io~local-volume"
testNodeName = "fakeNodeName"
testBlockFormattingToFSGlobalPath = "plugins/kubernetes.io/local-volume/mounts/pvA" testBlockFormattingToFSGlobalPath = "plugins/kubernetes.io/local-volume/mounts/pvA"
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment