Commit 0c79df1b authored by jianglingxia's avatar jianglingxia

delete some para no need used in local volume

parent d50e9209
...@@ -573,7 +573,7 @@ type localVolumeUnmapper struct { ...@@ -573,7 +573,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