Extract DefaultChunkSize constant

Kubernetes-commit: 222e2c5ef897f4d47831b8d822cab09c000037c2
This commit is contained in:
Katrina Verey 2021-03-10 12:21:25 -08:00 committed by Kubernetes Publisher
parent bfd30d2b1e
commit 9348b0acca
2 changed files with 2 additions and 1 deletions

View File

@ -145,7 +145,7 @@ func NewGetOptions(parent string, streams genericclioptions.IOStreams) *GetOptio
CmdParent: parent,
IOStreams: streams,
ChunkSize: 500,
ChunkSize: cmdutil.DefaultChunkSize,
ServerPrint: true,
}
}

View File

@ -50,6 +50,7 @@ import (
const (
ApplyAnnotationsFlag = "save-config"
DefaultErrorExitCode = 1
DefaultChunkSize = 500
)
type debugError interface {