mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-14 06:15:45 +00:00
Remove disablePaging param
This commit is contained in:
parent
1cb6793776
commit
106f58686d
@ -112,8 +112,6 @@ type groupResourceOverrides struct {
|
|||||||
// decoderDecoratorFn is optional and may wrap the provided decoders (can add new decoders). The order of
|
// decoderDecoratorFn is optional and may wrap the provided decoders (can add new decoders). The order of
|
||||||
// returned decoders will be priority for attempt to decode.
|
// returned decoders will be priority for attempt to decode.
|
||||||
decoderDecoratorFn func([]runtime.Decoder) []runtime.Decoder
|
decoderDecoratorFn func([]runtime.Decoder) []runtime.Decoder
|
||||||
// disablePaging will prevent paging on the provided resource.
|
|
||||||
disablePaging bool
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Apply overrides the provided config and options if the override has a value in that position
|
// Apply overrides the provided config and options if the override has a value in that position
|
||||||
@ -137,9 +135,6 @@ func (o groupResourceOverrides) Apply(config *storagebackend.Config, options *St
|
|||||||
if o.decoderDecoratorFn != nil {
|
if o.decoderDecoratorFn != nil {
|
||||||
options.DecoderDecoratorFn = o.decoderDecoratorFn
|
options.DecoderDecoratorFn = o.decoderDecoratorFn
|
||||||
}
|
}
|
||||||
if o.disablePaging {
|
|
||||||
config.Paging = false
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var _ StorageFactory = &DefaultStorageFactory{}
|
var _ StorageFactory = &DefaultStorageFactory{}
|
||||||
|
Loading…
Reference in New Issue
Block a user