mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Fix a few typos
This commit is contained in:
@@ -33,7 +33,7 @@ var (
|
||||
)
|
||||
|
||||
// hostInetConn allows reading and writing to a local host socket for hostinet.
|
||||
// hostInetConn implments proxyConn.
|
||||
// hostInetConn implements proxyConn.
|
||||
type hostInetConn struct {
|
||||
// wq is the WaitQueue registered with fdnotifier for this fd.
|
||||
wq waiter.Queue
|
||||
|
||||
@@ -64,7 +64,7 @@ func TestLocalHostSocket(t *testing.T) {
|
||||
}
|
||||
|
||||
if !slices.Equal(data[:recLen], clientData) {
|
||||
return fmt.Errorf("server mismatch data recieved: got: %s want: %s", data[:recLen], clientData)
|
||||
return fmt.Errorf("server mismatch data received: got: %s want: %s", data[:recLen], clientData)
|
||||
}
|
||||
|
||||
sentLen, err := conn.Write(serverData)
|
||||
|
||||
@@ -96,7 +96,7 @@ type ProcessProcfsDump struct {
|
||||
StartTime int64 `json:"clone_ts,omitempty"`
|
||||
// Root is /proc/[pid]/root.
|
||||
Root string `json:"root,omitempty"`
|
||||
// Limits constains resource limits for this process. Currently only
|
||||
// Limits constrains resource limits for this process. Currently only
|
||||
// RLIMIT_NOFILE is supported.
|
||||
Limits map[string]limits.Limit `json:"limits,omitempty"`
|
||||
// Cgroup is /proc/[pid]/cgroup split into an array.
|
||||
|
||||
+1
-1
@@ -1006,7 +1006,7 @@ func (c *containerMounter) mountTmp(ctx context.Context, spec *specs.Spec, conf
|
||||
for _, m := range c.mounts {
|
||||
// m.Destination has been cleaned, so it's to use equality here.
|
||||
if m.Destination == "/tmp" {
|
||||
log.Debugf(`Explict "/tmp" mount found, skipping internal tmpfs, mount: %+v`, m)
|
||||
log.Debugf(`Explicit "/tmp" mount found, skipping internal tmpfs, mount: %+v`, m)
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user