mirror of
https://github.com/containers/podman.git
synced 2025-07-18 01:57:24 +08:00
Fix build on non-linux platforms
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #1186 Approved by: rhatdan
This commit is contained in:
@ -2,10 +2,6 @@
|
|||||||
|
|
||||||
package libpod
|
package libpod
|
||||||
|
|
||||||
import (
|
|
||||||
"github.com/sirupsen/logrus"
|
|
||||||
)
|
|
||||||
|
|
||||||
// replaceNetNS is exclusive to the Linux platform and is a no-op elsewhere
|
// replaceNetNS is exclusive to the Linux platform and is a no-op elsewhere
|
||||||
func replaceNetNS(netNSPath string, ctr *Container, newState *containerState) error {
|
func replaceNetNS(netNSPath string, ctr *Container, newState *containerState) error {
|
||||||
return nil
|
return nil
|
||||||
@ -13,5 +9,5 @@ func replaceNetNS(netNSPath string, ctr *Container, newState *containerState) er
|
|||||||
|
|
||||||
// getNetNSPath is exclusive to the Linux platform and is a no-op elsewhere
|
// getNetNSPath is exclusive to the Linux platform and is a no-op elsewhere
|
||||||
func getNetNSPath(ctr *Container) string {
|
func getNetNSPath(ctr *Container) string {
|
||||||
return
|
return ""
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user