mirror of
https://github.com/containers/podman.git
synced 2025-07-15 03:02:52 +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
|
||||
|
||||
import (
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
// replaceNetNS is exclusive to the Linux platform and is a no-op elsewhere
|
||||
func replaceNetNS(netNSPath string, ctr *Container, newState *containerState) error {
|
||||
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
|
||||
func getNetNSPath(ctr *Container) string {
|
||||
return
|
||||
return ""
|
||||
}
|
||||
|
Reference in New Issue
Block a user