From cad28cc2d30a2282702ea6f7061b742d1ef94aff Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 5 Jul 2018 13:21:33 -0700 Subject: libpod/networking_unsupported: Remove JoinNetworkNameSpace This function was added in cc6f0e85 (more changes to compile darwin, 2018-07-04, #1047), but it has no consumers and no Linux analog. Remove it, which also fixes the [1]: libpod/networking_unsupported.go:9:1:warning: exported function JoinNetworkNameSpace should have comment or be unexported (golint) lint issue. [1]: https://travis-ci.org/projectatomic/libpod/jobs/400555937#L158 Signed-off-by: W. Trevor King Closes: #1034 Approved by: baude --- libpod/networking_unsupported.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libpod/networking_unsupported.go') diff --git a/libpod/networking_unsupported.go b/libpod/networking_unsupported.go index 4ff8ecd62..e4c668f88 100644 --- a/libpod/networking_unsupported.go +++ b/libpod/networking_unsupported.go @@ -6,10 +6,6 @@ import ( "github.com/projectatomic/libpod/pkg/inspect" ) -func JoinNetworkNameSpace(netNSBytes []byte) (*Container, bool, error) { - return nil, false, ErrNotImplemented -} - func (r *Runtime) setupNetNS(ctr *Container) (err error) { return ErrNotImplemented } -- cgit v1.2.3-54-g00ecf