Merge pull request #87139 from yuxiaobo96/k8s-staticcheck2

fix staticcheck:pkg/volume/cinder
This commit is contained in:
Kubernetes Prow Robot 2020-01-19 21:47:36 -08:00 committed by GitHub
commit 3d8317ae91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View File

@ -25,7 +25,6 @@ pkg/volume
pkg/volume/awsebs
pkg/volume/azure_dd
pkg/volume/azure_file
pkg/volume/cinder
pkg/volume/csi
pkg/volume/fc
pkg/volume/flexvolume

View File

@ -362,15 +362,11 @@ type cinderVolume struct {
pdName string
// Filesystem type, optional.
fsType string
// Specifies whether the disk will be attached as read-only.
readOnly bool
// Utility interface that provides API calls to the provider to attach/detach disks.
manager cdManager
// Mounter interface that provides system calls to mount the global path to the pod local path.
mounter mount.Interface
// diskMounter provides the interface that is used to mount the actual block device.
blockDeviceMounter mount.Interface
plugin *cinderPlugin
plugin *cinderPlugin
volume.MetricsProvider
}