Extract DefaultChunkSize constant
Kubernetes-commit: 222e2c5ef897f4d47831b8d822cab09c000037c2
This commit is contained in:
parent
bfd30d2b1e
commit
9348b0acca
|
@ -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