mirror of
https://github.com/containers/podman
synced 2024-10-21 17:53:44 +00:00
cad28cc2d3
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
24 lines
481 B
Go
24 lines
481 B
Go
// +build !linux
|
|
|
|
package libpod
|
|
|
|
import (
|
|
"github.com/projectatomic/libpod/pkg/inspect"
|
|
)
|
|
|
|
func (r *Runtime) setupNetNS(ctr *Container) (err error) {
|
|
return ErrNotImplemented
|
|
}
|
|
|
|
func (r *Runtime) teardownNetNS(ctr *Container) error {
|
|
return ErrNotImplemented
|
|
}
|
|
|
|
func (r *Runtime) createNetNS(ctr *Container) (err error) {
|
|
return ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) getContainerNetworkInfo(data *inspect.ContainerInspectData) *inspect.ContainerInspectData {
|
|
return nil
|
|
}
|