From 3dd577e93c200e1af48cb8c08ac67962299c5d1f Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Thu, 26 Jul 2018 15:31:46 -0400 Subject: Fix godoc comment in pkg/netns Signed-off-by: Matthew Heon Closes: #1165 Approved by: baude --- pkg/netns/netns_linux.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/netns') 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) -- cgit v1.2.3-54-g00ecf