mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #87139 from yuxiaobo96/k8s-staticcheck2
fix staticcheck:pkg/volume/cinder
This commit is contained in:
commit
3d8317ae91
@ -25,7 +25,6 @@ pkg/volume
|
|||||||
pkg/volume/awsebs
|
pkg/volume/awsebs
|
||||||
pkg/volume/azure_dd
|
pkg/volume/azure_dd
|
||||||
pkg/volume/azure_file
|
pkg/volume/azure_file
|
||||||
pkg/volume/cinder
|
|
||||||
pkg/volume/csi
|
pkg/volume/csi
|
||||||
pkg/volume/fc
|
pkg/volume/fc
|
||||||
pkg/volume/flexvolume
|
pkg/volume/flexvolume
|
||||||
|
@ -362,15 +362,11 @@ type cinderVolume struct {
|
|||||||
pdName string
|
pdName string
|
||||||
// Filesystem type, optional.
|
// Filesystem type, optional.
|
||||||
fsType string
|
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.
|
// Utility interface that provides API calls to the provider to attach/detach disks.
|
||||||
manager cdManager
|
manager cdManager
|
||||||
// Mounter interface that provides system calls to mount the global path to the pod local path.
|
// Mounter interface that provides system calls to mount the global path to the pod local path.
|
||||||
mounter mount.Interface
|
mounter mount.Interface
|
||||||
// diskMounter provides the interface that is used to mount the actual block device.
|
plugin *cinderPlugin
|
||||||
blockDeviceMounter mount.Interface
|
|
||||||
plugin *cinderPlugin
|
|
||||||
volume.MetricsProvider
|
volume.MetricsProvider
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user