mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 18:24:07 +00:00
Remove useless get volume stat field
This commit is contained in:
parent
d87d2977f7
commit
7111e41951
@ -93,7 +93,6 @@ var _ = utils.SIGDescribe("CSI Mock Node Volume Health", feature.CSIVolumeHealth
|
||||
for _, t := range tests {
|
||||
test := t
|
||||
ginkgo.It(test.name, func(ctx context.Context) {
|
||||
// Hooks appear to be required for enableNodeVolumeStat.
|
||||
m.init(ctx, testParameters{
|
||||
registerDriver: true,
|
||||
enableNodeVolumeCondition: test.nodeVolumeConditionRequired,
|
||||
|
@ -55,7 +55,6 @@ type Config struct {
|
||||
DriverName string
|
||||
AttachLimit int64
|
||||
NodeExpansionRequired bool
|
||||
NodeVolumeStatRequired bool
|
||||
NodeVolumeConditionRequired bool
|
||||
VolumeMountGroupRequired bool
|
||||
DisableControllerExpansion bool
|
||||
|
@ -306,7 +306,6 @@ type mockCSIDriver struct {
|
||||
requiresRepublish *bool
|
||||
fsGroupPolicy *storagev1.FSGroupPolicy
|
||||
enableVolumeMountGroup bool
|
||||
enableNodeVolumeStat bool
|
||||
enableNodeVolumeCondition bool
|
||||
embedded bool
|
||||
calls MockCSICalls
|
||||
@ -356,7 +355,6 @@ type CSIMockDriverOpts struct {
|
||||
EnableNodeExpansion bool
|
||||
EnableSnapshot bool
|
||||
EnableVolumeMountGroup bool
|
||||
EnableNodeVolumeStat bool
|
||||
EnableNodeVolumeCondition bool
|
||||
TokenRequests []storagev1.TokenRequest
|
||||
RequiresRepublish *bool
|
||||
@ -589,7 +587,6 @@ func (m *mockCSIDriver) PrepareTest(ctx context.Context, f *framework.Framework)
|
||||
DriverName: "csi-mock-" + f.UniqueName,
|
||||
AttachLimit: int64(m.attachLimit),
|
||||
NodeExpansionRequired: m.enableNodeExpansion,
|
||||
NodeVolumeStatRequired: m.enableNodeVolumeStat,
|
||||
NodeVolumeConditionRequired: m.enableNodeVolumeCondition,
|
||||
VolumeMountGroupRequired: m.enableVolumeMountGroup,
|
||||
EnableTopology: m.enableTopology,
|
||||
|
Loading…
Reference in New Issue
Block a user