mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 11:13:48 +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 {
|
for _, t := range tests {
|
||||||
test := t
|
test := t
|
||||||
ginkgo.It(test.name, func(ctx context.Context) {
|
ginkgo.It(test.name, func(ctx context.Context) {
|
||||||
// Hooks appear to be required for enableNodeVolumeStat.
|
|
||||||
m.init(ctx, testParameters{
|
m.init(ctx, testParameters{
|
||||||
registerDriver: true,
|
registerDriver: true,
|
||||||
enableNodeVolumeCondition: test.nodeVolumeConditionRequired,
|
enableNodeVolumeCondition: test.nodeVolumeConditionRequired,
|
||||||
|
@ -55,7 +55,6 @@ type Config struct {
|
|||||||
DriverName string
|
DriverName string
|
||||||
AttachLimit int64
|
AttachLimit int64
|
||||||
NodeExpansionRequired bool
|
NodeExpansionRequired bool
|
||||||
NodeVolumeStatRequired bool
|
|
||||||
NodeVolumeConditionRequired bool
|
NodeVolumeConditionRequired bool
|
||||||
VolumeMountGroupRequired bool
|
VolumeMountGroupRequired bool
|
||||||
DisableControllerExpansion bool
|
DisableControllerExpansion bool
|
||||||
|
@ -306,7 +306,6 @@ type mockCSIDriver struct {
|
|||||||
requiresRepublish *bool
|
requiresRepublish *bool
|
||||||
fsGroupPolicy *storagev1.FSGroupPolicy
|
fsGroupPolicy *storagev1.FSGroupPolicy
|
||||||
enableVolumeMountGroup bool
|
enableVolumeMountGroup bool
|
||||||
enableNodeVolumeStat bool
|
|
||||||
enableNodeVolumeCondition bool
|
enableNodeVolumeCondition bool
|
||||||
embedded bool
|
embedded bool
|
||||||
calls MockCSICalls
|
calls MockCSICalls
|
||||||
@ -356,7 +355,6 @@ type CSIMockDriverOpts struct {
|
|||||||
EnableNodeExpansion bool
|
EnableNodeExpansion bool
|
||||||
EnableSnapshot bool
|
EnableSnapshot bool
|
||||||
EnableVolumeMountGroup bool
|
EnableVolumeMountGroup bool
|
||||||
EnableNodeVolumeStat bool
|
|
||||||
EnableNodeVolumeCondition bool
|
EnableNodeVolumeCondition bool
|
||||||
TokenRequests []storagev1.TokenRequest
|
TokenRequests []storagev1.TokenRequest
|
||||||
RequiresRepublish *bool
|
RequiresRepublish *bool
|
||||||
@ -589,7 +587,6 @@ func (m *mockCSIDriver) PrepareTest(ctx context.Context, f *framework.Framework)
|
|||||||
DriverName: "csi-mock-" + f.UniqueName,
|
DriverName: "csi-mock-" + f.UniqueName,
|
||||||
AttachLimit: int64(m.attachLimit),
|
AttachLimit: int64(m.attachLimit),
|
||||||
NodeExpansionRequired: m.enableNodeExpansion,
|
NodeExpansionRequired: m.enableNodeExpansion,
|
||||||
NodeVolumeStatRequired: m.enableNodeVolumeStat,
|
|
||||||
NodeVolumeConditionRequired: m.enableNodeVolumeCondition,
|
NodeVolumeConditionRequired: m.enableNodeVolumeCondition,
|
||||||
VolumeMountGroupRequired: m.enableVolumeMountGroup,
|
VolumeMountGroupRequired: m.enableVolumeMountGroup,
|
||||||
EnableTopology: m.enableTopology,
|
EnableTopology: m.enableTopology,
|
||||||
|
Loading…
Reference in New Issue
Block a user