https://golang.org/pkg/bufio/#Scanner
"Scanning stops unrecoverably at EOF, the first I/O error, or a token too large to fit in the buffer. When a scan stops, the reader may have advanced arbitrarily far past the last token. Programs that need more control over error handling or large tokens, or must run sequential scans on a reader, should use bufio.Reader instead." On Thu, Jan 14, 2016 at 8:16 AM, Luke Meyer <[email protected]> wrote: > Do you have a pointer to how bufio.Scanner is broken and what we should > use instead? > > On Wed, Jan 13, 2016 at 11:07 AM, Clayton Coleman <[email protected]> > wrote: > >> buffo.Scanner is broken by design - we shouldn't be using it in any >> reasonable code path - that's likely the issue here. >> >> On Wed, Jan 13, 2016 at 10:58 AM, David Eads <[email protected]> wrote: >> > Outputing to a file should allow reasonable inspection. >> > >> > On Wed, Jan 13, 2016 at 10:57 AM, Philippe Lafoucrière >> > <[email protected]> wrote: >> >> >> >> On Wed, Jan 13, 2016 at 10:41 AM, David Eads <[email protected]> wrote: >> >>> >> >>> No. Names in OpenShift and Kubernetes are immutable. You can try `oc >> >>> export all --all -n old-namespace | oc create <exported file> -n >> >>> new-namespace -f -`, but its not a fully vetted path. >> >> >> >> >> >> I don't think we'll be able to do that directly :( >> >> "bufio.Scanner: token too long" >> >> Using a file or a pipe. >> > >> > >> > >> > _______________________________________________ >> > users mailing list >> > [email protected] >> > http://lists.openshift.redhat.com/openshiftmm/listinfo/users >> > >> >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.openshift.redhat.com/openshiftmm/listinfo/users >> > > > _______________________________________________ > users mailing list > [email protected] > http://lists.openshift.redhat.com/openshiftmm/listinfo/users > >
_______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
