Skip to content

Commit

Permalink
typo fixes under cmd.
Browse files Browse the repository at this point in the history
Signed-off-by: Tomoya.Fujita <[email protected]>
  • Loading branch information
fujitatomoya committed Mar 12, 2022
1 parent d4641e1 commit ba16743
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/containerd-shim/main_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func parseFlags() {
flag.StringVar(&namespaceFlag, "namespace", "", "namespace that owns the shim")
flag.StringVar(&socketFlag, "socket", "", "socket path to serve")
flag.StringVar(&addressFlag, "address", "", "grpc address back to main containerd")
flag.StringVar(&workdirFlag, "workdir", "", "path used to storge large temporary data")
flag.StringVar(&workdirFlag, "workdir", "", "path used to storage large temporary data")
flag.StringVar(&runtimeRootFlag, "runtime-root", process.RuncRoot, "root directory for the runtime")
flag.StringVar(&criuFlag, "criu", "", "path to criu binary")
flag.BoolVar(&systemdCgroupFlag, "systemd-cgroup", false, "set runtime to use systemd-cgroup")
Expand Down
2 changes: 1 addition & 1 deletion cmd/containerd-stress/exec_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (w *execWorker) exec(ctx, tctx context.Context) {
}
continue
}
// only log times are success so we don't scew the results from failures that go really fast
// only log times are success so we don't skew the results from failures that go really fast
execTimer.WithValues(w.commit).UpdateSince(start)
}
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/containerd-stress/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ type result struct {
}

func main() {
// morr power!
// more power!
runtime.GOMAXPROCS(runtime.NumCPU())

app := cli.NewApp()
Expand Down
2 changes: 1 addition & 1 deletion cmd/containerd-stress/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (w *worker) run(ctx, tctx context.Context) {
}
continue
}
// only log times are success so we don't scew the results from failures that go really fast
// only log times are success so we don't skew the results from failures that go really fast
ct.WithValues(w.commit).UpdateSince(start)
}
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/containerd/command/main_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func handleSignals(ctx context.Context, signals chan os.Signal, serverC chan *se
server = s
case s := <-signals:

// Do not print message when deailing with SIGPIPE, which may cause
// Do not print message when dealing with SIGPIPE, which may cause
// nested signals and consume lots of cpu bandwidth.
if s == unix.SIGPIPE {
continue
Expand Down

0 comments on commit ba16743

Please sign in to comment.