Fix some typos

Signed-off-by: Pan Yibo <mstmdev@gmail.com>
This commit is contained in:
mstmdev
2023-05-10 02:45:57 +08:00
parent 43bbffba37
commit cdaa4025e9
16 changed files with 20 additions and 20 deletions

View File

@@ -40,7 +40,7 @@ func NewNetNS(baseDir string) (*NetNS, error) {
return &NetNS{path: hcnNamespace.Id}, nil
}
// NewNetNS returns the netns from pid or a new netns if pid is 0.
// NewNetNSFromPID returns the netns from pid or a new netns if pid is 0.
func NewNetNSFromPID(baseDir string, pid uint32) (*NetNS, error) {
return nil, errNotImplementedOnWindows
}