Merge pull request #6674 from fujitatomoya/bugfix-20220312-typo-under-cmd
typo fixes under cmd.
This commit is contained in:
commit
8e546c12f5
@ -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")
|
||||
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
@ -104,7 +104,7 @@ type result struct {
|
||||
}
|
||||
|
||||
func main() {
|
||||
// morr power!
|
||||
// more power!
|
||||
runtime.GOMAXPROCS(runtime.NumCPU())
|
||||
|
||||
app := cli.NewApp()
|
||||
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user