mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-27 12:31:23 +00:00
Extract DefaultChunkSize constant
This commit is contained in:
parent
710865511e
commit
222e2c5ef8
@ -145,7 +145,7 @@ func NewGetOptions(parent string, streams genericclioptions.IOStreams) *GetOptio
|
||||
CmdParent: parent,
|
||||
|
||||
IOStreams: streams,
|
||||
ChunkSize: 500,
|
||||
ChunkSize: cmdutil.DefaultChunkSize,
|
||||
ServerPrint: true,
|
||||
}
|
||||
}
|
||||
|
@ -50,6 +50,7 @@ import (
|
||||
const (
|
||||
ApplyAnnotationsFlag = "save-config"
|
||||
DefaultErrorExitCode = 1
|
||||
DefaultChunkSize = 500
|
||||
)
|
||||
|
||||
type debugError interface {
|
||||
|
Loading…
Reference in New Issue
Block a user