Spelling fixes

* appropriate
* assumption
* attach
* because
* building
* customized
* mapping
* propagated

Signed-off-by: Josh Soref <jsoref@gmail.com>
This commit is contained in:
Josh Soref
2017-05-22 01:39:06 +00:00
parent 883d28cfce
commit 70a9905ee5
8 changed files with 9 additions and 9 deletions

View File

@ -11,7 +11,7 @@ import (
)
// waitOnService waits for the service to converge. It outputs a progress bar,
// if appopriate based on the CLI flags.
// if appropriate based on the CLI flags.
func waitOnService(ctx context.Context, dockerCli *command.DockerCli, serviceID string, opts *serviceOptions) error {
errChan := make(chan error, 1)
pipeReader, pipeWriter := io.Pipe()

View File

@ -237,7 +237,7 @@ type logWriter struct {
func (lw *logWriter) Write(buf []byte) (int, error) {
// this works but ONLY because stdcopy calls write a whole line at a time.
// if this ends up horribly broken or panics, check to see if stdcopy has
// reneged on that asssumption. (@god forgive me)
// reneged on that assumption. (@god forgive me)
// also this only works because the logs format is, like, barely parsable.
// if something changes in the logs format, this is gonna break

View File

@ -233,7 +233,7 @@ func writeOverallProgress(progressOut progress.Output, numerator, denominator in
type replicatedProgressUpdater struct {
progressOut progress.Output
// used for maping slots to a contiguous space
// used for mapping slots to a contiguous space
// this also causes progress bars to appear in order
slotMap map[int]int