diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2018-07-26 15:31:46 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-07-27 02:48:16 +0000 |
commit | 3dd577e93c200e1af48cb8c08ac67962299c5d1f (patch) | |
tree | dc41baf1295bdb0590f5aa0469fa65b9118cb60e /pkg/netns | |
parent | 8c52aa15f0e4927c0e570102efaa34dbe93d6156 (diff) | |
download | podman-3dd577e93c200e1af48cb8c08ac67962299c5d1f.tar.gz podman-3dd577e93c200e1af48cb8c08ac67962299c5d1f.tar.bz2 podman-3dd577e93c200e1af48cb8c08ac67962299c5d1f.zip |
Fix godoc comment in pkg/netns
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Closes: #1165
Approved by: baude
Diffstat (limited to 'pkg/netns')
-rw-r--r-- | pkg/netns/netns_linux.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/netns/netns_linux.go b/pkg/netns/netns_linux.go index f88939f11..a72a2d098 100644 --- a/pkg/netns/netns_linux.go +++ b/pkg/netns/netns_linux.go @@ -33,8 +33,8 @@ import ( const nsRunDir = "/var/run/netns" -// Creates a new persistent (bind-mounted) network namespace and returns an object -// representing that namespace, without switching to it. +// NewNS creates a new persistent (bind-mounted) network namespace and returns +// an object representing that namespace, without switching to it. func NewNS() (ns.NetNS, error) { b := make([]byte, 16) |