Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some typos #2517

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/container/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ func (c *Module) Exec(ns string, containerID string, timeout time.Duration, args
}
pr, err := t.Exec(createctx, taskID.String(), &p, cio.NullIO)
if err != nil {
return errors.Wrap(err, "failed to exec new porcess")
return errors.Wrap(err, "failed to exec new process")
}
if err := pr.Start(createctx); err != nil {
return errors.Wrap(err, "failed to start process")
Expand Down
2 changes: 1 addition & 1 deletion pkg/gateway/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ func (g *gatewayModule) ensureGateway(ctx context.Context, forceResstart bool) (
}

if running && forceResstart {
// note: a kill is basically a singal to traefik process to
// note: a kill is basically a signal to traefik process to
// die. but zinit will restart it again anyway. so this is
// enough to force restart it.
if err := z.Kill(traefikService, zinit.SIGTERM); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion pkg/kernel/kernel.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (k Params) IsDebug() bool {
return k.Exists(Debug)
}

// GPUDisabled checks if gpu is diabled
// GPUDisabled checks if gpu is disabled
func (k Params) IsGPUDisabled() bool {
return k.Exists(DisableGPU)
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/vm/ch.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (m *Machine) Run(ctx context.Context, socket, logs string) (pkg.MachineInfo
"--memory": {fmt.Sprintf("%s,shared=on", m.Config.Mem.String())},

"--console": {"off"},
"--serial": {"pty"}, // we use pty here for the cloud console to be able to read the vm console, in case of debuging or we need stdout logging we use tty
"--serial": {"pty"}, // we use pty here for the cloud console to be able to read the vm console, in case of debugging or we need stdout logging we use tty
"--api-socket": {socket},
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/zdb/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

// Prefix is a string used as prefix in the filesystem volume used
// to storge 0-db namespaces
// to storage 0-db namespaces
const (
Prefix = "zdb"
)
Expand Down