mirror of
https://github.com/containers/podman.git
synced 2025-05-21 09:05:56 +08:00
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:

committed by
Atomic Bot

parent
b1f63aa0cd
commit
cad28cc2d3
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user