summaryrefslogtreecommitdiff
path: root/libpod/networking_unsupported.go
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2018-07-05 13:21:33 -0700
committerAtomic Bot <atomic-devel@projectatomic.io>2018-07-06 00:48:39 +0000
commitcad28cc2d30a2282702ea6f7061b742d1ef94aff (patch)
treef588dc4b115b91155791f7c78be63e5abe43cc18 /libpod/networking_unsupported.go
parentb1f63aa0cdb95aa93a72078da622f19a3f139ca3 (diff)
downloadpodman-cad28cc2d30a2282702ea6f7061b742d1ef94aff.tar.gz
podman-cad28cc2d30a2282702ea6f7061b742d1ef94aff.tar.bz2
podman-cad28cc2d30a2282702ea6f7061b742d1ef94aff.zip
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 <wking@tremily.us> Closes: #1034 Approved by: baude
Diffstat (limited to 'libpod/networking_unsupported.go')
-rw-r--r--libpod/networking_unsupported.go4
1 files changed, 0 insertions, 4 deletions
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
}