mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-27 20:42:58 +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,
|
CmdParent: parent,
|
||||||
|
|
||||||
IOStreams: streams,
|
IOStreams: streams,
|
||||||
ChunkSize: 500,
|
ChunkSize: cmdutil.DefaultChunkSize,
|
||||||
ServerPrint: true,
|
ServerPrint: true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -50,6 +50,7 @@ import (
|
|||||||
const (
|
const (
|
||||||
ApplyAnnotationsFlag = "save-config"
|
ApplyAnnotationsFlag = "save-config"
|
||||||
DefaultErrorExitCode = 1
|
DefaultErrorExitCode = 1
|
||||||
|
DefaultChunkSize = 500
|
||||||
)
|
)
|
||||||
|
|
||||||
type debugError interface {
|
type debugError interface {
|
||||||
|
Loading…
Reference in New Issue
Block a user