diff --git a/pkg/container/container.go b/pkg/container/container.go index 8d7e547bd..15609c56a 100644 --- a/pkg/container/container.go +++ b/pkg/container/container.go @@ -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") diff --git a/pkg/gateway/gateway.go b/pkg/gateway/gateway.go index b4a4aff53..340f703d2 100644 --- a/pkg/gateway/gateway.go +++ b/pkg/gateway/gateway.go @@ -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 { diff --git a/pkg/kernel/kernel.go b/pkg/kernel/kernel.go index 8ee9cd2f9..a053e0ac1 100644 --- a/pkg/kernel/kernel.go +++ b/pkg/kernel/kernel.go @@ -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) } diff --git a/pkg/vm/ch.go b/pkg/vm/ch.go index 22e068538..1ac8486a2 100644 --- a/pkg/vm/ch.go +++ b/pkg/vm/ch.go @@ -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}, } diff --git a/pkg/zdb/pool.go b/pkg/zdb/pool.go index 07bf735cc..f6b7ffe15 100644 --- a/pkg/zdb/pool.go +++ b/pkg/zdb/pool.go @@ -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" )