Merge pull request #70609 from jianglingxia/jlx201811031314
delete some para no need used in local volume
This commit is contained in:
commit
839c4ec7c3
@ -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 (
|
|||||||
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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user