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⚠️ 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 <wking@tremily.us>

Closes: #1034
Approved by: baude
This commit is contained in:
W. Trevor King
2018-07-05 13:21:33 -07:00
committed by Atomic Bot
parent b1f63aa0cd
commit cad28cc2d3

View File

@ -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
}