typo fixes under cmd.

Signed-off-by: Tomoya.Fujita <Tomoya.Fujita@sony.com>
This commit is contained in:
Tomoya.Fujita 2022-03-12 11:32:31 -08:00
parent d4641e1ce1
commit ba1674389f
5 changed files with 5 additions and 5 deletions

View File

@ -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")

View File

@ -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)
}
}

View File

@ -104,7 +104,7 @@ type result struct {
}
func main() {
// morr power!
// more power!
runtime.GOMAXPROCS(runtime.NumCPU())
app := cli.NewApp()

View File

@ -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)
}
}

View File

@ -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